Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2019 18:36:13 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348659 - head/stand/efi/boot1
Message-ID:  <201906041836.x54IaDrO035715@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906041836.x54IaDrO035715>