diff options
| author | Gary Lin <glin@suse.com> | 2018-05-28 18:03:39 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2020-07-23 20:51:18 -0400 |
| commit | c2f645c7cd9872585e7b4522b01c368bb545258b (patch) | |
| tree | 2afc796a9cbb81bf0eea8c274fd43b0e5ed3c95f | |
| parent | 80e52895f206fcb40a60f031e7b721627bb193ca (diff) | |
| download | efi-boot-shim-c2f645c7cd9872585e7b4522b01c368bb545258b.tar.gz efi-boot-shim-c2f645c7cd9872585e7b4522b01c368bb545258b.zip | |
httpboot: show the error message for the ChildHandle
Signed-off-by: Gary Lin <glin@suse.com>
Upstream-commit-id: 0fd3c7e8518
| -rw-r--r-- | httpboot.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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, |
