]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Correct error status to EFI_NOT_FOUND when the image can't be got.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 1 Dec 2009 10:15:43 +0000 (10:15 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 1 Dec 2009 10:15:43 +0000 (10:15 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9502 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Core/Dxe/Image/Image.c

index 077d2a02991d62ad14024a7bca12e0df158b713d..d0539b98e4757a6d8b060cd0e6cbe01ccfdac537 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