aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/loader/arch/amd64/multiboot2.c
diff options
context:
space:
mode:
Diffstat (limited to 'stand/efi/loader/arch/amd64/multiboot2.c')
-rw-r--r--stand/efi/loader/arch/amd64/multiboot2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stand/efi/loader/arch/amd64/multiboot2.c b/stand/efi/loader/arch/amd64/multiboot2.c
index 6216fac42e4a..086dba33895a 100644
--- a/stand/efi/loader/arch/amd64/multiboot2.c
+++ b/stand/efi/loader/arch/amd64/multiboot2.c
@@ -343,7 +343,7 @@ exec(struct preloaded_file *fp)
EFI_SIZE_TO_PAGES(PAGE_SIZE), &addr);
if (EFI_ERROR(status)) {
printf("Failed to allocate pages for multiboot2 header: %lu\n",
- EFI_ERROR_CODE(status));
+ DECODE_ERROR(status));
error = ENOMEM;
goto error;
}
@@ -351,7 +351,7 @@ exec(struct preloaded_file *fp)
EFI_SIZE_TO_PAGES(128 * 1024), &stack);
if (EFI_ERROR(status)) {
printf("Failed to allocate pages for Xen stack: %lu\n",
- EFI_ERROR_CODE(status));
+ DECODE_ERROR(status));
error = ENOMEM;
goto error;
}