From c9a3849ec9f5f7356dd61e7e4bf90e3a55cca1cd Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 11 Nov 2015 17:02:24 +0100 Subject: pbl: console: Use console_putc to output the carriage return console_puts uses console_putc() to output characters, so the carriage return should be output with the same function. Signed-off-by: Sascha Hauer --- pbl/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbl') diff --git a/pbl/console.c b/pbl/console.c index 3574753d23..4cefe74808 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++; -- cgit v1.2.3