summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/BootMaintenanceManagerUiLib
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2017-06-12 09:16:32 +0800
committerHao Wu <hao.a.wu@intel.com>2017-06-13 10:45:37 +0800
commit983f59932db28ae37b9f9e545c1258bc59aa71ca (patch)
treef69e0441b522f47f32b835776883b18a6f13cead /MdeModulePkg/Library/BootMaintenanceManagerUiLib
parentec4910cd3336565fdb61dafdd9ec4ae7a6160ba3 (diff)
downloadedk2-983f59932db28ae37b9f9e545c1258bc59aa71ca.tar.gz
edk2-983f59932db28ae37b9f9e545c1258bc59aa71ca.tar.bz2
edk2-983f59932db28ae37b9f9e545c1258bc59aa71ca.zip
MdeModulePkg/BMMUiLib: Fix incorrect variable name
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=592 In function UpdateConsoleContent, we compare console name with "ErrOut" string to check whether the content in console Error device page has been changed. But when call function UpdateConsoleContent, we pass console name as "ConErr" by mistake. This patch is to fix the inconsistent issue. Cc: Eric Dong <eric.dong@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/BootMaintenanceManagerUiLib')
-rw-r--r--MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
index 3ff23a5a45..98e14c7d63 100644
--- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
+++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
@@ -1302,7 +1302,7 @@ BootMaintCallback (
} else if ((QuestionId >= CON_OUT_DEVICE_QUESTION_ID) && (QuestionId < CON_OUT_DEVICE_QUESTION_ID + MAX_MENU_NUMBER)) {
UpdateConsoleContent (L"ConOut", CurrentFakeNVMap);
} else if ((QuestionId >= CON_ERR_DEVICE_QUESTION_ID) && (QuestionId < CON_ERR_DEVICE_QUESTION_ID + MAX_MENU_NUMBER)) {
- UpdateConsoleContent (L"ConErr", CurrentFakeNVMap);
+ UpdateConsoleContent (L"ErrOut", CurrentFakeNVMap);
}
}