mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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
This commit is contained in:
parent
9e4a51a860
commit
f2d626ab0e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314621
|
@ -87,7 +87,7 @@ breakdown_name(char *name, efi_guid_t *guid, char **vname)
|
|||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue