From c95db09f990a9773b8494f69decb7dec96071ed3 Mon Sep 17 00:00:00 2001 From: Eric Dong Date: Wed, 30 May 2012 07:52:47 +0000 Subject: Replace GetEfiGlobalVariable interface with GetEfiGlobalVariable2. Signed-off-by: Eric Dong Reviewed-by: Liming Gao (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 Acked-by: Mark Doran Acked-by: Laszlo Ersek --- FatPkg/EnhancedFatDxe/UnicodeCollation.c | 4 ++-- 1 file 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.
+ Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.
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++) { -- cgit v1.2.3