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.85_2 #1 (Red Hat Linux)) id 1bQXIc-0001Bu-VK for barebox@lists.infradead.org; Fri, 22 Jul 2016 10:03:20 +0000 From: Sascha Hauer Date: Fri, 22 Jul 2016 12:02:56 +0200 Message-Id: <1469181776-1818-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] printk: Fix pr_cont To: Barebox List pr_cont is meant to continue a line, so do not printf the prefix given with pr_fmt() again. Signed-off-by: Sascha Hauer --- include/printk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/printk.h b/include/printk.h index f62e57d..b4ae0b3 100644 --- a/include/printk.h +++ b/include/printk.h @@ -91,7 +91,7 @@ static inline int pr_print(int level, const char *format, ...) #define pr_debug(fmt, arg...) __pr_printk(7, pr_fmt(fmt), ##arg) #define debug(fmt, arg...) __pr_printk(7, pr_fmt(fmt), ##arg) #define pr_vdebug(fmt, arg...) __pr_printk(8, pr_fmt(fmt), ##arg) -#define pr_cont(fmt, arg...) __pr_printk(0, pr_fmt(fmt), ##arg) +#define pr_cont(fmt, arg...) __pr_printk(0, fmt, ##arg) #define printk_once(fmt, ...) \ ({ \ -- 2.8.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox