svn commit: r302335 - head/sys/boot/efi/boot1
Ed Maste
emaste at FreeBSD.org
Mon Jul 4 16:50:22 UTC 2016
Author: emaste
Date: Mon Jul 4 16:50:21 2016
New Revision: 302335
URL: https://svnweb.freebsd.org/changeset/base/302335
Log:
boot1.efi: fix assignment / comparison expression
PR: 210706
Submitted by: David Binderman <dcb314 at hotmail.com>
Approved by: re (kib)
MFC after: 1 week
Modified:
head/sys/boot/efi/boot1/boot1.c
Modified: head/sys/boot/efi/boot1/boot1.c
==============================================================================
--- head/sys/boot/efi/boot1/boot1.c Mon Jul 4 14:23:36 2016 (r302334)
+++ head/sys/boot/efi/boot1/boot1.c Mon Jul 4 16:50:21 2016 (r302335)
@@ -629,7 +629,7 @@ efi_main(EFI_HANDLE Ximage, EFI_SYSTEM_T
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));
}
More information about the svn-src-all
mailing list