svn commit: r303294 - stable/10/sys/boot/efi/boot1

Ed Maste emaste at FreeBSD.org
Mon Jul 25 14:28:51 UTC 2016


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 <dcb314 at 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));
 		}


More information about the svn-src-stable mailing list