Blame SOURCES/0007-httpboot-show-the-error-message-for-the-ChildHandle.patch

00e791
From c2f645c7cd9872585e7b4522b01c368bb545258b Mon Sep 17 00:00:00 2001
00e791
From: Gary Lin <glin@suse.com>
00e791
Date: Mon, 28 May 2018 18:03:39 +0800
00e791
Subject: [PATCH 07/62] httpboot: show the error message for the ChildHandle
00e791
00e791
Signed-off-by: Gary Lin <glin@suse.com>
00e791
Upstream-commit-id: 0fd3c7e8518
00e791
---
00e791
 httpboot.c | 4 +++-
00e791
 1 file changed, 3 insertions(+), 1 deletion(-)
00e791
00e791
diff --git a/httpboot.c b/httpboot.c
00e791
index 16dd6621f66..3622e85867c 100644
00e791
--- a/httpboot.c
00e791
+++ b/httpboot.c
00e791
@@ -696,8 +696,10 @@ http_fetch (EFI_HANDLE image, EFI_HANDLE device,
00e791
 	/* Set the handle to NULL to request a new handle */
00e791
 	http_handle = NULL;
00e791
 	efi_status = service->CreateChild(service, &http_handle);
00e791
-	if (EFI_ERROR(efi_status))
00e791
+	if (EFI_ERROR(efi_status)) {
00e791
+		perror(L"Failed to create the ChildHandle\n");
00e791
 		return efi_status;
00e791
+	}
00e791
 
00e791
 	/* Get the http protocol */
00e791
 	efi_status = gBS->HandleProtocol(http_handle, &EFI_HTTP_PROTOCOL_GUID,
00e791
-- 
00e791
2.26.2
00e791