9
0
Fork 0

printk: Fix pr_cont

pr_cont is meant to continue a line, so do not printf the prefix given
with pr_fmt() again.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2016-07-22 11:51:50 +02:00
parent facda5a9cb
commit ea0e077ed6
1 changed files with 1 additions and 1 deletions

View File

@ -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, ...) \
({ \