]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c
Correct typo in word in DxeCore.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / FwVol / FwVolRead.c
index e7cac455ff09d1e827d51d9a103faed58487a9ea..0b53af27d1fd8902b7caea6c8fed7891a43feaa4 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Implements functions to read firmware file\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -135,9 +135,9 @@ FvGetNextFile (
     return EFI_ACCESS_DENIED;\r
   }\r
 \r
-  if (*FileType > EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE) {\r
+  if (*FileType > EFI_FV_FILETYPE_SMM_CORE) {\r
     //\r
-    // File type needs to be in 0 - 0x0B\r
+    // File type needs to be in 0 - 0x0D\r
     //\r
     return EFI_NOT_FOUND;\r
   }\r
@@ -325,7 +325,7 @@ FvReadFile (
 \r
   if (Buffer == NULL) {\r
     //\r
-    // If Buffer is NULL, we only want to get the information colected so far\r
+    // If Buffer is NULL, we only want to get the information collected so far\r
     //\r
     return EFI_SUCCESS;\r
   }\r