diff options
author | emaste <emaste@FreeBSD.org> | 2016-01-18 15:55:25 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-01-18 15:55:25 +0000 |
commit | afae46b0e1e77310e1f398e11cb333784311fdfa (patch) | |
tree | 3862e505b212f99aa56f0d0179501459fcaeb219 /sys/boot/efi/loader/copy.c | |
parent | 800cde159e270c446cbd5ccd56b7e6151b8e6d68 (diff) | |
download | FreeBSD-src-afae46b0e1e77310e1f398e11cb333784311fdfa.zip FreeBSD-src-afae46b0e1e77310e1f398e11cb333784311fdfa.tar.gz |
MFC r293244: Introduce and use new EFI_ERROR_CODE macro for EFI errors
Diffstat (limited to 'sys/boot/efi/loader/copy.c')
-rw-r--r-- | sys/boot/efi/loader/copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/efi/loader/copy.c b/sys/boot/efi/loader/copy.c index a7d6bf1..363d95d 100644 --- a/sys/boot/efi/loader/copy.c +++ b/sys/boot/efi/loader/copy.c @@ -56,7 +56,7 @@ efi_copy_init(void) STAGE_PAGES, &staging); if (EFI_ERROR(status)) { printf("failed to allocate staging area: %lu\n", - (unsigned long)(status & EFI_ERROR_MASK)); + EFI_ERROR_CODE(status)); return (status); } staging_end = staging + STAGE_PAGES * EFI_PAGE_SIZE; |