diff options
author | emaste <emaste@FreeBSD.org> | 2016-07-25 14:28:50 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-07-25 14:28:50 +0000 |
commit | c41d5d1a73024e066e5b8cfa204ad0ca54ad79d7 (patch) | |
tree | f7eb02ebeafcb277f1ea36ac147fd2b16cb4f7bd /sys/boot/efi | |
parent | 502f84aa8ec1419d4f52111bdbcd33870a8f4149 (diff) | |
download | FreeBSD-src-c41d5d1a73024e066e5b8cfa204ad0ca54ad79d7.zip FreeBSD-src-c41d5d1a73024e066e5b8cfa204ad0ca54ad79d7.tar.gz |
MFC r302335: boot1.efi: fix assignment / comparison expression
PR: 210706
Submitted by: David Binderman <dcb314@hotmail.com>
Diffstat (limited to 'sys/boot/efi')
-rw-r--r-- | sys/boot/efi/boot1/boot1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/efi/boot1/boot1.c b/sys/boot/efi/boot1/boot1.c index 1161b0a..90491fe 100644 --- a/sys/boot/efi/boot1/boot1.c +++ b/sys/boot/efi/boot1/boot1.c @@ -629,7 +629,7 @@ efi_main(EFI_HANDLE Ximage, EFI_SYSTEM_TABLE *Xsystab) case EFI_BUFFER_TOO_SMALL: (void)bs->FreePool(handles); if ((status = bs->AllocatePool(EfiLoaderData, hsize, - (void **)&handles) != EFI_SUCCESS)) { + (void **)&handles)) != EFI_SUCCESS) { panic("Failed to allocate %zu handles (%lu)", hsize / sizeof(*handles), EFI_ERROR_CODE(status)); } |