mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Use newly minted efi_devpath_same_disk() instead of
efi_devpath_match(). This fixes a regression in r347193. Reported by: Tomoaki AOKI Differential Revision: https://reviews.freebsd.org/D20513
This commit is contained in:
parent
83ffeb8b52
commit
b5f3ad3ad1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348659
@ -273,7 +273,7 @@ probe_handle(EFI_HANDLE h, EFI_DEVICE_PATH *imgpath, BOOLEAN *preferred)
|
||||
if (!blkio->Media->LogicalPartition)
|
||||
return (EFI_UNSUPPORTED);
|
||||
|
||||
*preferred = efi_devpath_match(imgpath, devpath);
|
||||
*preferred = efi_devpath_same_disk(imgpath, devpath);
|
||||
|
||||
/* Run through each module, see if it can load this partition */
|
||||
devinfo = malloc(sizeof(*devinfo));
|
||||
|
Loading…
Reference in New Issue
Block a user