summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2017-06-12 09:16:32 +0800
committerGuo Mang <mang.guo@intel.com>2017-07-12 11:24:58 +0800
commit127b1131807f1b37adb9d5e5f39eca2f37e2b84d (patch)
tree2ba0a282f613f1777852c8594da2503ed204d551
parent021a63e58056064f9cb5ef5211d81466a321bde0 (diff)
downloadedk2-platforms-127b1131807f1b37adb9d5e5f39eca2f37e2b84d.tar.xz
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> (cherry picked from commit 983f59932db28ae37b9f9e545c1258bc59aa71ca)
-rw-r--r--Core/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c b/Core/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
index 3ff23a5a45..98e14c7d63 100644
--- a/Core/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
+++ b/Core/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);
}
}