diff options
author | Ed Maste <emaste@FreeBSD.org> | 2014-04-04 13:35:36 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2014-04-04 13:35:36 +0000 |
commit | 7de278582748d32120a353645111bf81f1932e31 (patch) | |
tree | fd45e00589720187ca4d8ca6e0982dc0a3fe8a90 /sys/boot/amd64/efi/copy.c | |
parent | 5055c92801a30a01d104d0dea5d52d54b3cdd834 (diff) | |
download | src-7de278582748d32120a353645111bf81f1932e31.tar.gz src-7de278582748d32120a353645111bf81f1932e31.zip |
Notes
Diffstat (limited to 'sys/boot/amd64/efi/copy.c')
-rw-r--r-- | sys/boot/amd64/efi/copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/amd64/efi/copy.c b/sys/boot/amd64/efi/copy.c index bebe42ed5ec2..c6cc3490817a 100644 --- a/sys/boot/amd64/efi/copy.c +++ b/sys/boot/amd64/efi/copy.c @@ -51,8 +51,8 @@ x86_efi_copy_init(void) status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData, STAGE_PAGES, &staging); if (EFI_ERROR(status)) { - printf("failed to allocate staging area: %d\n", - status & EFI_ERROR_MASK); + printf("failed to allocate staging area: %lu\n", + (unsigned long)(status & EFI_ERROR_MASK)); return (status); } |