Correct a gh_part_csum calculation used in debug output.
authorkrw <krw@openbsd.org>
Wed, 13 Apr 2022 22:29:30 +0000 (22:29 +0000)
committerkrw <krw@openbsd.org>
Wed, 13 Apr 2022 22:29:30 +0000 (22:29 +0000)
commit185e7fd6ee848c13bf7d0306d880cd67b6df4cac
treee99958a4951a6f7a9e872c6e04a0d493bc3fafec
parent7846bfe8500d7568349d53bb176df7d722aef2a8
Correct a gh_part_csum calculation used in debug output.

Always calculate the GPT partition entries checksum over
gh_part_num * gh_part_size bytes, not the maximal size of the
internal partition entries array.

No functional change.
sbin/fdisk/gpt.c