summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/console.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/console.c b/common/console.c
index c40eba6d55..cd37d88cc4 100644
--- a/common/console.c
+++ b/common/console.c
@@ -552,10 +552,9 @@ int console_puts(unsigned int ch, const char *str)
}
while (*s) {
- if (*s == '\n') {
- console_putc(ch, '\r');
+ if (*s == '\n')
n++;
- }
+
console_putc(ch, *s);
n++;
s++;