Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2016 14:28:50 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r303294 - stable/10/sys/boot/efi/boot1
Message-ID:  <201607251428.u6PESo3s042980@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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));
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607251428.u6PESo3s042980>