From: Pali Rohár <[email protected]> Print trailing newline as the last printed byte can be something different.
Signed-off-by: Pali Rohár <[email protected]> Reviewed-by: Marek Behún <[email protected]> Reviewed-by: Stefan Roese <[email protected]> Reviewed-by: Chris Packham <[email protected]> Tested-by: Chris Packham <[email protected]> --- 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

