summaryrefslogtreecommitdiff
path: root/sbin/badsect
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2017-05-24 21:18:26 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2017-05-24 21:18:26 +0000
commitc1dcab9d59d9dc1535945bc2b0589c645553d3a5 (patch)
tree79efb82fa2dff8caa812dedf1a92d3baf2b47ef7 /sbin/badsect
parent1ebb93739edf01f5a7f5b37477ba3690fcbdee40 (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