summaryrefslogtreecommitdiff
path: root/FatPkg
diff options
context:
space:
mode:
authorniruiyu <niruiyu@efd2e655-3735-4b16-a529-16bfa2dd702b>2012-05-30 07:52:47 +0000
committerniruiyu <niruiyu@efd2e655-3735-4b16-a529-16bfa2dd702b>2012-05-30 07:52:47 +0000
commit962452428a2f0bc529b8acb671e859e771e13921 (patch)
tree45df94725efb9a54118d6d0986f0da7f910a2c31 /FatPkg
parent9f983e0edddfa6581187c70e2cc342a52886c848 (diff)
Replace GetEfiGlobalVariable interface with GetEfiGlobalVariable2.
Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2-fatdriver2.svn.sourceforge.net/svnroot/edk2-fatdriver2/trunk@69 efd2e655-3735-4b16-a529-16bfa2dd702b
Diffstat (limited to 'FatPkg')
-rw-r--r--FatPkg/EnhancedFatDxe/UnicodeCollation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/FatPkg/EnhancedFatDxe/UnicodeCollation.c b/FatPkg/EnhancedFatDxe/UnicodeCollation.c
index 78a30c91f7..abed17ea01 100644
--- a/FatPkg/EnhancedFatDxe/UnicodeCollation.c
+++ b/FatPkg/EnhancedFatDxe/UnicodeCollation.c
@@ -2,7 +2,7 @@
Unicode Collation Support component that hides the trivial difference of Unicode Collation
and Unicode collation 2 Protocol.
- Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the Software
License Agreement which accompanies this distribution.
@@ -57,7 +57,7 @@ InitializeUnicodeCollationSupportWorker (
}
Iso639Language = (BOOLEAN) (ProtocolGuid == &gEfiUnicodeCollationProtocolGuid);
- Language = GetEfiGlobalVariable(VariableName);
+ GetEfiGlobalVariable2(VariableName, &Language, NULL);
Status = EFI_UNSUPPORTED;
for (Index = 0; Index < NumHandles; Index++) {