From bf4a3dbd4751b6411bdfc98bf3ac2c4f928bdfdf Mon Sep 17 00:00:00 2001 From: ydong10 Date: Wed, 30 May 2012 07:36:00 +0000 Subject: Add new interface GetVariable2 and GetEfiGlobalVariable2 to return more info. Also replace old interface with new one. Signed-off-by: Eric Dong Reviewed-by: Liming Gao git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13375 6f19259b-4bc3-4df7-8a09-765794883524 --- PerformancePkg/Dp_App/DpUtilities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PerformancePkg') diff --git a/PerformancePkg/Dp_App/DpUtilities.c b/PerformancePkg/Dp_App/DpUtilities.c index f60006125f..0d4e17acc1 100644 --- a/PerformancePkg/Dp_App/DpUtilities.c +++ b/PerformancePkg/Dp_App/DpUtilities.c @@ -270,7 +270,7 @@ GetNameFromHandle ( // // Get the current platform language setting // - PlatformLanguage = GetEfiGlobalVariable (L"PlatformLang"); + GetEfiGlobalVariable2 (L"PlatformLang", &PlatformLanguage, NULL); Status = ComponentName2->GetDriverName ( ComponentName2, PlatformLanguage != NULL ? PlatformLanguage : "en-US", -- cgit v1.2.3