From 977ccff309c46d316fdf8a15f1870c58eb6f8a4f Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Thu, 5 Feb 2015 13:03:08 +0800 Subject: [PATCH] bionic: Correct \r at the end of puts() Since puts() calls serial_putc() directly, it needs to supply its own \r before \n. Signed-off-by: Sean Cross --- bionic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bionic.c b/bionic.c index e13f79a..5561e7b 100644 --- a/bionic.c +++ b/bionic.c @@ -345,6 +345,7 @@ void _msleep(uint32_t msecs) int puts(const char *str) { serial_puts(str); + serial_putc('\r'); serial_putc('\n'); return 1; }