diff options
author | emaste <emaste@FreeBSD.org> | 2016-07-04 16:50:21 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-07-04 16:50:21 +0000 |
commit | bca2b7caa7461d1a82feb0d9493b555afbf62e41 (patch) | |
tree | 663636c9e962a7d2b8d34175c3fa35f26bbec94c /sys/boot/efi | |
parent | 6775e1255793036b1ac8a57622c6495dd5e16cc5 (diff) | |
download | FreeBSD-src-bca2b7caa7461d1a82feb0d9493b555afbf62e41.zip FreeBSD-src-bca2b7caa7461d1a82feb0d9493b555afbf62e41.tar.gz |
boot1.efi: fix assignment / comparison expression
PR: 210706
Submitted by: David Binderman <dcb314@hotmail.com>
Approved by: re (kib)
MFC after: 1 week
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 7383387..92eb345 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)); } |