mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-06-14 21:59:40 +00:00
httpboot: show the error message for the ChildHandle
Signed-off-by: Gary Lin <glin@suse.com> Upstream-commit-id: 0fd3c7e8518
This commit is contained in:
parent
80e52895f2
commit
c2f645c7cd
@ -696,8 +696,10 @@ http_fetch (EFI_HANDLE image, EFI_HANDLE device,
|
||||
/* Set the handle to NULL to request a new handle */
|
||||
http_handle = NULL;
|
||||
efi_status = service->CreateChild(service, &http_handle);
|
||||
if (EFI_ERROR(efi_status))
|
||||
if (EFI_ERROR(efi_status)) {
|
||||
perror(L"Failed to create the ChildHandle\n");
|
||||
return efi_status;
|
||||
}
|
||||
|
||||
/* Get the http protocol */
|
||||
efi_status = gBS->HandleProtocol(http_handle, &EFI_HTTP_PROTOCOL_GUID,
|
||||
|
Loading…
Reference in New Issue
Block a user