aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/efivar/efivar.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/efivar/efivar.c')
-rw-r--r--usr.sbin/efivar/efivar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/efivar/efivar.c b/usr.sbin/efivar/efivar.c
index d877eb1b9cc2..b0fa347a34bd 100644
--- a/usr.sbin/efivar/efivar.c
+++ b/usr.sbin/efivar/efivar.c
@@ -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);
}