summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-09-24 23:06:47 +0200
committerStefan Roese <sr@denx.de>2021-10-01 11:07:13 +0200
commitd5ba8dbd75c1b3f45c341341a1259114d894c45f (patch)
tree2c43e36645f16d0d116286c3f611740d639931a6 /tools
parent5a1f8cbe86ddc5802f661145926423d63f34e48a (diff)
tools: kwboot: Print newline on error when progress was not completed
When progress was not completed, current terminal position is in progress bar. So print newline before printing error message to make error message more readable. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'tools')
-rw-r--r--tools/kwboot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/kwboot.c b/tools/kwboot.c
index eb4b3fe230..0e533e3698 100644
--- a/tools/kwboot.c
+++ b/tools/kwboot.c
@@ -459,6 +459,7 @@ kwboot_xmodem(int tty, const void *_data, size_t size)
rc = kwboot_tty_send_char(tty, EOT);
out:
+ kwboot_printv("\n");
return rc;
can: