aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/boot1/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'stand/efi/boot1/proto.c')
-rw-r--r--stand/efi/boot1/proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stand/efi/boot1/proto.c b/stand/efi/boot1/proto.c
index f81debd168b9..042a675f543d 100644
--- a/stand/efi/boot1/proto.c
+++ b/stand/efi/boot1/proto.c
@@ -68,7 +68,7 @@ probe_handle(EFI_HANDLE h, EFI_DEVICE_PATH *imgpath)
if (status != EFI_SUCCESS) {
DPRINTF("\nFailed to query DevicePath (%lu)\n",
- EFI_ERROR_CODE(status));
+ DECODE_ERROR(status));
return (-1);
}
#ifdef EFI_DEBUG
@@ -84,7 +84,7 @@ probe_handle(EFI_HANDLE h, EFI_DEVICE_PATH *imgpath)
if (status != EFI_SUCCESS) {
DPRINTF("\nFailed to query BlockIoProtocol (%lu)\n",
- EFI_ERROR_CODE(status));
+ DECODE_ERROR(status));
return (-1);
}