From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZwXsA-00008C-QI for barebox@lists.infradead.org; Wed, 11 Nov 2015 16:03:47 +0000 From: Sascha Hauer Date: Wed, 11 Nov 2015 17:03:23 +0100 Message-Id: <1447257803-1564-1-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] pbl: console: Use console_putc to output the carriage return To: Barebox List 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(-) 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++; -- 2.6.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox