diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2017-05-24 21:18:26 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2017-05-24 21:18:26 +0000 |
commit | c1dcab9d59d9dc1535945bc2b0589c645553d3a5 (patch) | |
tree | 79efb82fa2dff8caa812dedf1a92d3baf2b47ef7 /sbin/badsect | |
parent | 1ebb93739edf01f5a7f5b37477ba3690fcbdee40 (diff) |
Support swapping 32-bit aligned elements on 64-bit platforms.
Previously they would be swapped a byte at a time when sizeof(int)
!= sizeof(long). Idea from FreeBSD.
Diffstat (limited to 'sbin/badsect')
0 files changed, 0 insertions, 0 deletions