REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4850
When running 'reset -s' no lineffeed is printed. This results in the Linux
command line prompt not being printed at the start of a new line:
Shell> reset -s
Reset with <null string> (0 bytes)user@workstation:/tmp$
Add the missing linefeed.
Signed-off-by: Heinrich Schuchardt <[email protected]>
---
ShellPkg/Library/UefiShellLevel2CommandsLib/Reset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Reset.c
b/ShellPkg/Library/UefiShellLevel2CommandsLib/Reset.c
index 361c47e43059..cab9a1da3091 100644
--- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Reset.c
+++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Reset.c
@@ -138,7 +138,7 @@ ShellCommandRunReset (
} else {
String = ShellCommandLineGetValue (Package, L"-s");
DEBUG_CODE (
- ShellPrintEx (-1, -1, L"Reset with %s (%d bytes)", String, String
!= NULL ? StrSize (String) : 0);
+ ShellPrintEx (-1, -1, L"Reset with %s (%d bytes)\n", String,
String != NULL ? StrSize (String) : 0);
);
if (String != NULL) {
gRT->ResetSystem (EfiResetShutdown, EFI_SUCCESS, StrSize (String),
(VOID *)String);
--
2.45.2
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120562): https://edk2.groups.io/g/devel/message/120562
Mute This Topic: https://groups.io/mt/108428477/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-