diff options
Diffstat (limited to 'PerformancePkg/Dp_App')
-rw-r--r-- | PerformancePkg/Dp_App/DpUtilities.c | 2 |
1 files changed, 1 insertions, 1 deletions
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",
|