From 2cf14c7c93640f2aa8296fbc36b257ef31057d9a Mon Sep 17 00:00:00 2001 From: lgao4 Date: Tue, 9 Dec 2008 14:26:10 +0000 Subject: [PATCH] Update structure name aligned to UEFI specification. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6936 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/BdsDxe/BootMaint/BmLib.c | 6 +++--- MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MdeModulePkg/Universal/BdsDxe/BootMaint/BmLib.c b/MdeModulePkg/Universal/BdsDxe/BootMaint/BmLib.c index 9ef2f7f034..aaa64c9458 100644 --- a/MdeModulePkg/Universal/BdsDxe/BootMaint/BmLib.c +++ b/MdeModulePkg/Universal/BdsDxe/BootMaint/BmLib.c @@ -221,19 +221,19 @@ EfiLibDeleteVariable ( @retval NULL is returned if failed to get Vaolume Label Info. **/ -EFI_FILE_SYSTEM_VOLUME_LABEL_INFO * +EFI_FILE_SYSTEM_VOLUME_LABEL * EfiLibFileSystemVolumeLabelInfo ( IN EFI_FILE_HANDLE FHand ) { EFI_STATUS Status; - EFI_FILE_SYSTEM_VOLUME_LABEL_INFO *Buffer; + EFI_FILE_SYSTEM_VOLUME_LABEL *Buffer; UINTN BufferSize; // // Initialize for GrowBuffer loop // Buffer = NULL; - BufferSize = SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO + 200; + BufferSize = SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL + 200; // // Call the real function diff --git a/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h b/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h index 4aed70aab3..cd36f3ee42 100644 --- a/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h +++ b/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h @@ -366,7 +366,7 @@ typedef struct { EFI_DEVICE_PATH_PROTOCOL *DevicePath; EFI_FILE_HANDLE FHandle; UINT16 *FileName; - EFI_FILE_SYSTEM_VOLUME_LABEL_INFO *Info; + EFI_FILE_SYSTEM_VOLUME_LABEL *Info; BOOLEAN IsRoot; BOOLEAN IsDir; @@ -1281,7 +1281,7 @@ EfiLibOpenRoot ( @retval NULL is returned if failed to get Vaolume Label Info. **/ -EFI_FILE_SYSTEM_VOLUME_LABEL_INFO * +EFI_FILE_SYSTEM_VOLUME_LABEL * EfiLibFileSystemVolumeLabelInfo ( IN EFI_FILE_HANDLE FHand );