CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2021/05/14 09:31:01

Modified files:
        sys/kern       : subr_disk.c 
        sbin/fdisk     : cmd.c fdisk.c mbr.c user.c 

Log message:
Tweak the two copies of gpt_chk_mbr() to return the index of the MBR
0xEE (DOSPTYP_EFI) partition, or -1 no usable such partition is found.

Adopt a consistent idiom to capture the index for future use.

Clean up the gpt_chk_mbr() logic to make it clearer what constraints
are being applied when looking for the DOSTYP_EFI partition.

No intentional functional change.

Reply via email to