OpenBSD cvs log

created 2021-05-17T06:50:32Z
begin 2021-05-14T08:10:39Z
end 2021-05-14T15:31:01Z
path src/sys
commits 1

date 2021-05-14T15:31:01Z
author krw
files src/sys/kern/subr_disk.c log diff annotate
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.