Skip to content

Commit 0fd3c7e

Browse files
lcpvathpela
authored andcommitted
httpboot: show the error message for the ChildHandle
Signed-off-by: Gary Lin <[email protected]>
1 parent 69089e9 commit 0fd3c7e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

httpboot.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,10 @@ http_fetch (EFI_HANDLE image, EFI_HANDLE device,
696696
/* Set the handle to NULL to request a new handle */
697697
http_handle = NULL;
698698
efi_status = service->CreateChild(service, &http_handle);
699-
if (EFI_ERROR(efi_status))
699+
if (EFI_ERROR(efi_status)) {
700+
perror(L"Failed to create the ChildHandle\n");
700701
return efi_status;
702+
}
701703

702704
/* Get the http protocol */
703705
efi_status = gBS->HandleProtocol(http_handle, &EFI_HTTP_PROTOCOL_GUID,

0 commit comments

Comments
 (0)