diff options
Diffstat (limited to 'MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c')
-rw-r--r-- | MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c b/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c index d85f2eaef9..0e85a832c1 100644 --- a/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c +++ b/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c @@ -838,7 +838,7 @@ UpdateConModePage ( //
UnicodeValueToString (ModeString, 0, Col, 0);
PStr = &ModeString[0];
- StrnCat (PStr, L" x ", StrLen(L" x ") + 1);
+ StrnCatS (PStr, sizeof (ModeString) / sizeof (ModeString[0]), L" x ", StrLen(L" x ") + 1);
PStr = PStr + StrLen (PStr);
UnicodeValueToString (PStr , 0, Row, 0);
|