boot1.efi: fix assignment / comparison expression
PR: 210706 Submitted by: David Binderman <dcb314@hotmail.com> Approved by: re (kib) MFC after: 1 week
This commit is contained in:
parent
2cf9911fc1
commit
0f3454e465
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user