CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2022/03/15 11:59:39
Modified files: sbin/fdisk : cmd.c gpt.c part.c Log message: Always use letoh32(gh.gh_part_num) instead of NGPTPARTITIONS when scanning the GPT partition table. gh.gh_part_num reflects the actual size of the table read from/written to the disk and scanning possible entries between this value and the maximum allowed size of a partition table is pointless. No intentional functional change.