mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user