Author: emaste Date: Mon Jul 25 14:28:50 2016 New Revision: 303294 URL: https://svnweb.freebsd.org/changeset/base/303294
Log: MFC r302335: boot1.efi: fix assignment / comparison expression PR: 210706 Submitted by: David Binderman <dcb...@hotmail.com> Modified: stable/10/sys/boot/efi/boot1/boot1.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/boot/efi/boot1/boot1.c ============================================================================== --- stable/10/sys/boot/efi/boot1/boot1.c Mon Jul 25 14:26:33 2016 (r303293) +++ stable/10/sys/boot/efi/boot1/boot1.c Mon Jul 25 14:28:50 2016 (r303294) @@ -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)); } _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"