diff options
author | marcel <marcel@FreeBSD.org> | 2011-03-16 00:08:10 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2011-03-16 00:08:10 +0000 |
commit | c8313b3029a224cdaee7d1c0c1052276d8b3f227 (patch) | |
tree | 77112f3e78ec3fda6229920988696ffab7150f71 /sys/boot | |
parent | b7fd4888f8cb07f6287b3949aff05595f6084a41 (diff) | |
download | FreeBSD-src-c8313b3029a224cdaee7d1c0c1052276d8b3f227.zip FreeBSD-src-c8313b3029a224cdaee7d1c0c1052276d8b3f227.tar.gz |
Revert previous commit: EFI_STATUS is a 64-bit integral on ia64. Fix the
compile warning on i386 (where EFI_STATUS is a 32-bit integral) by casting
the status argument to u_long instead.
Pointy hat: brucec
MFC after: 3 days
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/efi/libefi/efipart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/efi/libefi/efipart.c b/sys/boot/efi/libefi/efipart.c index 0225d76..264a2a4 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=%u\n", __func__, rw, status); + printf("%s: rw=%d, status=%lu\n", __func__, rw, (u_long)status); return (efi_status_to_errno(status)); } |