Update the return status to comply to PI spec.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / FwVol / FwVolRead.c
index a477ad488db21982c709e514316940673a1f38b2..94ba5018969c4542bfbbc9d75f933ce4573edf91 100644 (file)
@@ -148,7 +148,7 @@ Returns:
     //\r
     // File type needs to be in 0 - 0x0B\r
     //\r
-    return EFI_INVALID_PARAMETER;\r
+    return EFI_NOT_FOUND;\r
   }\r
 \r
   KeyValue = (UINTN *)Key;\r