diff options
| author | Pali Rohár <[email protected]> | 2021-07-23 11:14:19 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2021-07-31 09:49:31 +0200 |
| commit | 49a0a3b8b6feb36e95827d41249d3728b67ecced (patch) | |
| tree | aae88157834741c6cc613e214aa7b2f629ebcde0 | |
| parent | ec0fe5b84e0bdb94bb381a2b50092b24497c2091 (diff) | |
tools: kwboot: Print trailing newline after terminal is terminated
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]>
| -rw-r--r-- | tools/kwboot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/kwboot.c b/tools/kwboot.c index 7fa742d84cc..941f4228f98 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; } |
