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