summaryrefslogtreecommitdiffstats
path: root/pbl
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-11-11 17:02:24 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-11-11 17:03:37 +0100
commitc9a3849ec9f5f7356dd61e7e4bf90e3a55cca1cd (patch)
tree8d59dcd33793c9fe01ad337d01163b1e1eed703a /pbl
parentd925f1ed32bde4e4972b600604e93cbb87749721 (diff)
downloadbarebox-c9a3849ec9f5f7356dd61e7e4bf90e3a55cca1cd.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
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++;