Correct error status to EFI_NOT_FOUND when the image can't be got.
authorlgao4 <lgao4@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 1 Dec 2009 10:15:43 +0000 (10:15 +0000)
committerlgao4 <lgao4@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 1 Dec 2009 10:15:43 +0000 (10:15 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9502 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdeModulePkg/Core/Dxe/Image/Image.c

index 077d2a0..d0539b9 100644 (file)
@@ -842,7 +842,7 @@ CoreLoadImageCommon (
                       &AuthenticationStatus\r
                       );\r
     if (FHand.Source == NULL) {\r
-      Status = EFI_LOAD_ERROR;\r
+      Status = EFI_NOT_FOUND;\r
     } else {\r
       //\r
       // Try to get the image device handle by checking the match protocol.\r