CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2022/04/13 09:32:33

Modified files:
        sbin/fdisk     : gpt.c 

Log message:
Correct a gh_csum calculation used in debug output.

Always calculate the GPT header checksum over gh_size bytes
(a.k.a. 92), not sizeof(struct gpt_header). Compilers in their
wisdom may pad the struct to a nice round size, e.g. 96 bytes.

No functional change.

Reply via email to