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));
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to