[PATCH u-boot-mvebu v2 25/41] tools: kwboot: Print trailing newline after terminal is terminated
Marek Behún
marek.behun at nic.cz
Mon Jul 19 14:20:48 CEST 2021
From: Pali Rohár <pali at kernel.org>
Print trailing newline as the last printed byte can be something
different.
Signed-off-by: Pali Rohár <pali at kernel.org>
Reviewed-by: Marek Behún <marek.behun at nic.cz>
Reviewed-by: Stefan Roese <sr at denx.de>
Reviewed-by: Chris Packham <judge.packham at gmail.com>
Tested-by: Chris Packham <judge.packham at gmail.com>
---
tools/kwboot.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/kwboot.c b/tools/kwboot.c
index 7fa742d84c..941f4228f9 100644
--- a/tools/kwboot.c
+++ b/tools/kwboot.c
@@ -560,6 +560,7 @@ kwboot_terminal(int tty)
if (in >= 0)
tcsetattr(in, TCSANOW, &otio);
+ printf("\n");
out:
return rc;
}
--
2.31.1
More information about the U-Boot
mailing list