summaryrefslogtreecommitdiffstats
path: root/arch/efi/efi/efi.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/efi/efi/efi.c')
-rw-r--r--arch/efi/efi/efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/efi/efi/efi.c b/arch/efi/efi/efi.c
index 1f0deed577..6cffac60f5 100644
--- a/arch/efi/efi/efi.c
+++ b/arch/efi/efi/efi.c
@@ -125,7 +125,7 @@ struct efi_boot *efi_get_boot(int num)
int size;
char *name;
- name = asprintf("Boot%04X", num);
+ name = xasprintf("Boot%04X", num);
buf = efi_get_global_var(name, &size);