summaryrefslogtreecommitdiffstats
path: root/FatPkg
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2012-05-30 07:52:47 +0000
committerJordan Justen <jordan.l.justen@intel.com>2016-04-06 23:22:43 -0700
commitc95db09f990a9773b8494f69decb7dec96071ed3 (patch)
treed5756cc40f6d35a93a72f539862c400f41b982be /FatPkg
parent294362ac4cbe2475df247b61d5d47501e0e5700d (diff)
downloadedk2-c95db09f990a9773b8494f69decb7dec96071ed3.tar.gz
edk2-c95db09f990a9773b8494f69decb7dec96071ed3.tar.bz2
edk2-c95db09f990a9773b8494f69decb7dec96071ed3.zip
Replace GetEfiGlobalVariable interface with GetEfiGlobalVariable2.
Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> (based on FatPkg commit 973de2e40bce86e970e4cf0f34e9ef2d5a7d1eb8) [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')
-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 f483a5af94..edd4d3d388 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 BSD License which accompanies this
distribution. The full text of the license may be found at
@@ -61,7 +61,7 @@ InitializeUnicodeCollationSupportWorker (
}
Iso639Language = (BOOLEAN) (ProtocolGuid == &gEfiUnicodeCollationProtocolGuid);
- Language = GetEfiGlobalVariable(VariableName);
+ GetEfiGlobalVariable2(VariableName, &Language, NULL);
Status = EFI_UNSUPPORTED;
for (Index = 0; Index < NumHandles; Index++) {