CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/04/18 11:32:16
Modified files:
sbin/fdisk : cmd.c gpt.c part.c user.c
Log message:
Convert the GPT header read from disk into a host-endian version,
and then back to little-endian when writing to disk.
Reduces the number of invocations of the letoh*() and htole*()
functions by 90 or so. Also makes that code much easier to read.
No intentional functional change.
