diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-11-11 17:02:24 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-11-11 17:03:37 +0100 |
commit | c9a3849ec9f5f7356dd61e7e4bf90e3a55cca1cd (patch) | |
tree | 8d59dcd33793c9fe01ad337d01163b1e1eed703a /pbl | |
parent | d925f1ed32bde4e4972b600604e93cbb87749721 (diff) | |
download | barebox-c9a3849ec9f5f7356dd61e7e4bf90e3a55cca1cd.tar.gz barebox-c9a3849ec9f5f7356dd61e7e4bf90e3a55cca1cd.tar.xz |
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'pbl')
-rw-r--r-- | pbl/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |