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 );