summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/Dxe/FwVol
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-18 01:00:01 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-18 01:00:01 +0000
commit26fa3b49686805c5cb4e3f379b696c54a51088e0 (patch)
treeec235441694f4aa340ce14c5bd737fa9a10bb9af /MdeModulePkg/Core/Dxe/FwVol
parent46ffb9a4eeea0e46e7d0d8915435f6d56340cd2f (diff)
downloadedk2-26fa3b49686805c5cb4e3f379b696c54a51088e0.tar.gz
edk2-26fa3b49686805c5cb4e3f379b696c54a51088e0.tar.bz2
edk2-26fa3b49686805c5cb4e3f379b696c54a51088e0.zip
Update the return status to comply to PI spec.
According to PI SPEC (Volume3 2.4), GetNextFile() should be return "EFI_NOT_FOUND" instead of "EFI_INVAILD_PARAMETER" when doesn't find the file with related File Type.c git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4159 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Dxe/FwVol')
-rw-r--r--MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c b/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c
index a477ad488d..94ba501896 100644
--- a/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c
+++ b/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c
@@ -148,7 +148,7 @@ Returns:
//
// File type needs to be in 0 - 0x0B
//
- return EFI_INVALID_PARAMETER;
+ return EFI_NOT_FOUND;
}
KeyValue = (UINTN *)Key;