X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=PerformancePkg%2FDp_App%2FDpUtilities.c;h=0d4e17acc136364e0e7c71f58e999d4c7c22655c;hp=f60006125f3ce375a37b02fe7d791e678005c7da;hb=bf4a3dbd4751b6411bdfc98bf3ac2c4f928bdfdf;hpb=650b87cc1be916e416965d5f58db921819cc199b 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",