summaryrefslogtreecommitdiff
path: root/FatPkg/EnhancedFatDxe
diff options
context:
space:
mode:
authorQing Huang <qing.huang@intel.com>2009-01-04 03:50:43 +0000
committerJordan Justen <jordan.l.justen@intel.com>2016-04-06 23:22:43 -0700
commit80d70ac3ae6358d06838de4c5a3d8f0b09fc93f8 (patch)
tree667de1ab0ae07b37ea256bd6f1935fa087c69128 /FatPkg/EnhancedFatDxe
parentbcc9adde44362017b3e10b66b88468bd2397d4a2 (diff)
downloadedk2-platforms-80d70ac3ae6358d06838de4c5a3d8f0b09fc93f8.tar.xz
Fix the build error caused by recent MdePkg clean up
(based on FatPkg commit 89452d777f567e38fb24569dbda2477a05bbcd70) [jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD] Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Acked-by: Mark Doran <mark.doran@intel.com> Acked-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'FatPkg/EnhancedFatDxe')
-rw-r--r--FatPkg/EnhancedFatDxe/Info.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/FatPkg/EnhancedFatDxe/Info.c b/FatPkg/EnhancedFatDxe/Info.c
index 2ef4e9c809..740a0df5e4 100644
--- a/FatPkg/EnhancedFatDxe/Info.c
+++ b/FatPkg/EnhancedFatDxe/Info.c
@@ -172,7 +172,7 @@ Returns:
CHAR16 Name[FAT_NAME_LEN + 1];
EFI_STATUS Status;
- Size = SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO;
+ Size = SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL;
Status = FatGetVolumeEntry (Volume, Name);
NameSize = StrSize (Name);
ResultSize = Size + NameSize;
@@ -252,11 +252,11 @@ Returns:
--*/
{
- EFI_FILE_SYSTEM_VOLUME_LABEL_INFO *Info;
+ EFI_FILE_SYSTEM_VOLUME_LABEL *Info;
- Info = (EFI_FILE_SYSTEM_VOLUME_LABEL_INFO *) Buffer;
+ Info = (EFI_FILE_SYSTEM_VOLUME_LABEL *) Buffer;
- if (BufferSize < SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO + 2) {
+ if (BufferSize < SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL + 2) {
return EFI_BAD_BUFFER_SIZE;
}