Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2017 20:23:19 +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: r314621 - head/usr.sbin/efivar
Message-ID:  <201703032023.v23KNJHQ063350@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Mar  3 20:23:18 2017
New Revision: 314621
URL: https://svnweb.freebsd.org/changeset/base/314621

Log:
  If the guid specified can't be decoded as a GUID, try looking it up in
  the known guid to name table.
  
  Sponsored by: Netflix

Modified:
  head/usr.sbin/efivar/efivar.c

Modified: head/usr.sbin/efivar/efivar.c
==============================================================================
--- head/usr.sbin/efivar/efivar.c	Fri Mar  3 20:23:14 2017	(r314620)
+++ head/usr.sbin/efivar/efivar.c	Fri Mar  3 20:23:18 2017	(r314621)
@@ -87,7 +87,7 @@ breakdown_name(char *name, efi_guid_t *g
 		errx(1, "Invalid name: %s", name);
 	*vname = cp + 1;
 	*cp = '\0';
-	if (efi_str_to_guid(name, guid) < 0)
+	if (efi_name_to_guid(name, guid) < 0)
 		errx(1, "Invalid guid %s", name);
 }
 



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