console_puts uses console_putc() to output characters, so the carriage return should be output with the same function. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- pbl/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbl/console.c b/pbl/console.c index 3574753..4cefe748 100644 --- a/pbl/console.c +++ b/pbl/console.c @@ -32,7 +32,7 @@ int console_puts(unsigned int ch, const char *str) while (*str) { if (*str == '\n') - putc_ll('\r'); + console_putc(CONSOLE_STDOUT, '\r'); console_putc(CONSOLE_STDOUT, *str); str++; -- 2.6.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox