diff options
author | Eric Dong <eric.dong@intel.com> | 2015-08-27 04:52:24 +0000 |
---|---|---|
committer | ydong10 <ydong10@Edk2> | 2015-08-27 04:52:24 +0000 |
commit | cf34f86bc2b630b874df4ff657421942fbf8721b (patch) | |
tree | 09438389d0acdba55001f79650a6233e11d33b9d /MdeModulePkg/Library | |
parent | 44873d305668a9ca0e99ff6c73dff14e6cbde9af (diff) | |
download | edk2-platforms-cf34f86bc2b630b874df4ff657421942fbf8721b.tar.xz |
MdeModulePkg: Replace deprecated function.
Replace GetEfiGlobalVariable with GetEfiGlobalVariable2.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18332 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library')
-rw-r--r-- | MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c b/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c index d197816fa1..b3f57f56fa 100644 --- a/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c +++ b/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c @@ -76,7 +76,7 @@ BmGetControllerName ( }
if (!EFI_ERROR (Status)) {
- LanguageVariable = GetEfiGlobalVariable (Iso639Language ? L"Lang" : L"PlatformLang");
+ GetEfiGlobalVariable2 (Iso639Language ? L"Lang" : L"PlatformLang", (VOID**)&LanguageVariable, NULL);
BestLanguage = GetBestLanguage(
ComponentName->SupportedLanguages,
Iso639Language,
|