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:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user