From 94fe6c80c71b0f8789aa55d2fd321d78e264b0f3 Mon Sep 17 00:00:00 2001 From: brucec Date: Wed, 23 Feb 2011 17:17:05 +0000 Subject: Handle memory allocation failures in include(). PR: i386/85652 Submitted by: Ben Thomas MFC after: 3 days --- sys/boot/efi/libefi/efipart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/boot/efi') diff --git a/sys/boot/efi/libefi/efipart.c b/sys/boot/efi/libefi/efipart.c index 4abac06..0225d76 100644 --- a/sys/boot/efi/libefi/efipart.c +++ b/sys/boot/efi/libefi/efipart.c @@ -204,7 +204,7 @@ efipart_readwrite(EFI_BLOCK_IO *blkio, int rw, daddr_t blk, daddr_t nblks, } if (EFI_ERROR(status)) - printf("%s: rw=%d, status=%lu\n", __func__, rw, status); + printf("%s: rw=%d, status=%u\n", __func__, rw, status); return (efi_status_to_errno(status)); } -- cgit v1.1