summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 94ba501896..59df02e11d 100644
--- a/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c
+++ b/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c
@@ -187,7 +187,7 @@ Returns:
continue;
}
- if (*FileType == 0) {
+ if (*FileType == EFI_FV_FILETYPE_ALL) {
//
// Process all file types so we have a match
//