console_puts uses console_putc for printing which already does newline conversion, so do not do it again in console_puts. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- common/console_simple.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/console_simple.c b/common/console_simple.c index 9675cbb0a6..0825ec07ec 100644 --- a/common/console_simple.c +++ b/common/console_simple.c @@ -16,8 +16,6 @@ int console_puts(unsigned int ch, const char *str) while (*s) { console_putc(ch, *s); - if (*s == '\n') - console_putc(ch, '\r'); s++; i++; } -- 2.17.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox