summaryrefslogtreecommitdiffstats
path: root/FatPkg/EnhancedFatDxe/Open.c
diff options
context:
space:
mode:
Diffstat (limited to 'FatPkg/EnhancedFatDxe/Open.c')
-rw-r--r--FatPkg/EnhancedFatDxe/Open.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/FatPkg/EnhancedFatDxe/Open.c b/FatPkg/EnhancedFatDxe/Open.c
index ae2aae530d..8fc7bd08b7 100644
--- a/FatPkg/EnhancedFatDxe/Open.c
+++ b/FatPkg/EnhancedFatDxe/Open.c
@@ -1,6 +1,6 @@
/*++
-Copyright (c) 2005 - 2007, Intel Corporation
+Copyright (c) 2005 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
@@ -62,7 +62,7 @@ Returns:
IFile->Signature = FAT_IFILE_SIGNATURE;
- CopyMem (&(IFile->Handle), &FatFileInterface, sizeof (EFI_FILE));
+ CopyMem (&(IFile->Handle), &FatFileInterface, sizeof (EFI_FILE_PROTOCOL));
IFile->OFile = OFile;
InsertTailList (&OFile->Opens, &IFile->Link);
@@ -190,11 +190,11 @@ Returns:
EFI_STATUS
EFIAPI
FatOpen (
- IN EFI_FILE *FHand,
- OUT EFI_FILE **NewHandle,
- IN CHAR16 *FileName,
- IN UINT64 OpenMode,
- IN UINT64 Attributes
+ IN EFI_FILE_PROTOCOL *FHand,
+ OUT EFI_FILE_PROTOCOL **NewHandle,
+ IN CHAR16 *FileName,
+ IN UINT64 OpenMode,
+ IN UINT64 Attributes
)
/*++
Routine Description: