summaryrefslogtreecommitdiff
path: root/EdkUnixPkg
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-21 07:48:03 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-21 07:48:03 +0000
commitebc5b9557e782974e82e29ee68bf28b0d73696a5 (patch)
tree26a0b5322427a8d199b3d45994b81439fa6e50a0 /EdkUnixPkg
parent54be95a116bcfcb7a84c11e39334184250cb670c (diff)
downloadedk2-platforms-ebc5b9557e782974e82e29ee68bf28b0d73696a5.tar.xz
fix build broken issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2498 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkUnixPkg')
-rw-r--r--EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c b/EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c
index a1d63cf07c..9872653174 100644
--- a/EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c
+++ b/EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c
@@ -981,7 +981,7 @@ Returns:
// TODO: EFI_INVALID_PARAMETER - add return value to function comment
{
UNIX_EFI_FILE_PRIVATE *PrivateFile;
- EFITPL OldTpl;
+ EFI_TPL OldTpl;
if (This == NULL) {
return EFI_INVALID_PARAMETER;
@@ -1538,7 +1538,6 @@ Returns:
Status = (*Position == (UINT64) -1) ? EFI_DEVICE_ERROR : EFI_SUCCESS;
}
-Done:
gBS->RestoreTPL (OldTpl);
return Status;
}
@@ -1635,7 +1634,7 @@ Returns:
StrCpy ((CHAR16 *) FileSystemInfoBuffer->VolumeLabel, PrivateRoot->VolumeLabel);
*BufferSize = SIZE_OF_EFI_FILE_SYSTEM_INFO + StrSize (PrivateRoot->VolumeLabel);
Status = EFI_SUCCESS;
- } else if (CompareGuid (InformationType, &gEfiFileSystemVolumeLabelInfoIdGuid){
+ } else if (CompareGuid (InformationType, &gEfiFileSystemVolumeLabelInfoIdGuid)) {
if (*BufferSize < StrSize (PrivateRoot->VolumeLabel)) {
*BufferSize = StrSize (PrivateRoot->VolumeLabel);
Status = EFI_BUFFER_TOO_SMALL;