diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-12-01 10:15:43 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-12-01 10:15:43 +0000 |
commit | a13df02ed548b9bf1adf31a8822d4c331dc54b20 (patch) | |
tree | 2b0bc79e37d5d41716d87af44d7fd0d6ffc47f87 /MdeModulePkg/Core | |
parent | 02864f591e601bbf179c976470ee5f67401cd3b5 (diff) | |
download | edk2-platforms-a13df02ed548b9bf1adf31a8822d4c331dc54b20.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Core')
-rw-r--r-- | MdeModulePkg/Core/Dxe/Image/Image.c | 2 |
1 files changed, 1 insertions, 1 deletions
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.
|