You need to fix the subject line for this commit.  This is not in MdeModulePkg.

Reviewed-by: Jaben Carsey <[email protected]>

>-----Original Message-----
>From: edk2-devel [mailto:[email protected]] On Behalf Of Eric 
>Dong
>Sent: Wednesday, August 26, 2015 6:54 PM
>To: [email protected]
>Cc: Ni, Ruiyu
>Subject: [edk2] [Patch 3/3] MdeModulePkg: Replace use case of deprecated 
>function GetVariable with GetVariable2.
>Importance: High
>
>Contributed-under: TianoCore Contribution Agreement 1.0
>Signed-off-by: Eric Dong <[email protected]>
>Cc: Ruiyu Ni <[email protected]>
>---
> ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
>b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
>index bf41047..c299d63 100644
>--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
>+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
>@@ -1310,11 +1310,11 @@ GetBestLanguageForDriver (
>   )
> {
>   CHAR8                         *LanguageVariable;
>   CHAR8                         *BestLanguage;
>
>-  LanguageVariable = GetVariable (Iso639Language ? L"Lang" : L"PlatformLang", 
>&gEfiGlobalVariableGuid);
>+  GetVariable2 (Iso639Language ? L"Lang" : L"PlatformLang", 
>&gEfiGlobalVariableGuid, &LanguageVariable, NULL);
>
>   BestLanguage = GetBestLanguage(
>                    SupportedLanguages,
>                    Iso639Language,
>                    (InputLanguage != NULL) ? InputLanguage : "",
>--
>1.9.5.msysgit.1
>
>_______________________________________________
>edk2-devel mailing list
>[email protected]
>https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to