mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
ShellPkg: add missing linefeed in reset message
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4850 When running 'reset -s' no linefeed 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 <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
a131839a3d
commit
b8122cc9d8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user