]> git.proxmox.com Git - mirror_edk2.git/blobdiff - FatPkg/EnhancedFatDxe/OpenVolume.c
MdeModulePkg: Allow DxeIpl to load without permanent memory
[mirror_edk2.git] / FatPkg / EnhancedFatDxe / OpenVolume.c
index 723ee127cde471db649046ff9ec874831ad3fe58..0f43ffae9826d2afc7eca4dab7571fe171ca3b3d 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2005, Intel Corporation\r
-All rights reserved. This program and the accompanying materials are licensed and made available\r
+Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available\r
 under the terms and conditions of the BSD License which accompanies this\r
 distribution. The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -28,7 +28,7 @@ EFI_STATUS
 EFIAPI\r
 FatOpenVolume (\r
   IN  EFI_SIMPLE_FILE_SYSTEM_PROTOCOL  *This,\r
-  OUT EFI_FILE                         **File\r
+  OUT EFI_FILE_PROTOCOL                **File\r
   )\r
 /*++\r
 \r
@@ -73,7 +73,7 @@ Returns:
 \r
 Done:\r
 \r
-  Status = FatCleanupVolume (Volume, Volume->Root, Status);\r
+  Status = FatCleanupVolume (Volume, Volume->Root, Status, NULL);\r
   FatReleaseLock ();\r
 \r
   return Status;\r