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
This commit is contained in:
lgao4 2009-12-01 10:15:43 +00:00
parent 02864f591e
commit a13df02ed5
1 changed files with 1 additions and 1 deletions

View File

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