svn commit: r348659 - head/stand/efi/boot1

Warner Losh imp at FreeBSD.org
Tue Jun 4 18:36:16 UTC 2019


Author: imp
Date: Tue Jun  4 18:36:12 2019
New Revision: 348659
URL: https://svnweb.freebsd.org/changeset/base/348659

Log:
  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

Modified:
  head/stand/efi/boot1/boot1.c

Modified: head/stand/efi/boot1/boot1.c
==============================================================================
--- head/stand/efi/boot1/boot1.c	Tue Jun  4 18:36:07 2019	(r348658)
+++ head/stand/efi/boot1/boot1.c	Tue Jun  4 18:36:12 2019	(r348659)
@@ -273,7 +273,7 @@ probe_handle(EFI_HANDLE h, EFI_DEVICE_PATH *imgpath, B
 	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));


More information about the svn-src-head mailing list