From a13df02ed548b9bf1adf31a8822d4c331dc54b20 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Tue, 1 Dec 2009 10:15:43 +0000 Subject: [PATCH] Correct error status to EFI_NOT_FOUND when the image can't be got. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9502 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Dxe/Image/Image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c b/MdeModulePkg/Core/Dxe/Image/Image.c index 077d2a0299..d0539b98e4 100644 --- a/MdeModulePkg/Core/Dxe/Image/Image.c +++ b/MdeModulePkg/Core/Dxe/Image/Image.c @@ -842,7 +842,7 @@ CoreLoadImageCommon ( &AuthenticationStatus ); if (FHand.Source == NULL) { - Status = EFI_LOAD_ERROR; + Status = EFI_NOT_FOUND; } else { // // Try to get the image device handle by checking the match protocol. -- 2.39.2