summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHubert Feurstein <h.feurstein@gmail.com>2013-07-19 15:41:41 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-07-22 09:33:22 +0200
commited8e6f17a54a997d3dc1045580e0dc655dd134b4 (patch)
tree99e7408e56fc783e224da06e95661d57c033cc02
parentb04e3c7b9d6a32662446d88d3766505ab6422600 (diff)
downloadbarebox-ed8e6f17a54a997d3dc1045580e0dc655dd134b4.tar.gz
barebox-ed8e6f17a54a997d3dc1045580e0dc655dd134b4.tar.xz
include/printk: fix level of pr_err and pr_warning
The level of pr_err and pr_warning were interchanged. Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/printk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/printk.h b/include/printk.h
index 3cd733547e..86bf208425 100644
--- a/include/printk.h
+++ b/include/printk.h
@@ -56,8 +56,8 @@ int dev_printf(const struct device_d *dev, const char *format, ...)
#define pr_emerg(fmt, arg...) __pr_printk(0, pr_fmt(fmt), ##arg)
#define pr_alert(fmt, arg...) __pr_printk(1, pr_fmt(fmt), ##arg)
#define pr_crit(fmt, arg...) __pr_printk(2, pr_fmt(fmt), ##arg)
-#define pr_warning(fmt, arg...) __pr_printk(3, pr_fmt(fmt), ##arg)
-#define pr_err(fmt, arg...) __pr_printk(4, pr_fmt(fmt), ##arg)
+#define pr_err(fmt, arg...) __pr_printk(3, pr_fmt(fmt), ##arg)
+#define pr_warning(fmt, arg...) __pr_printk(4, pr_fmt(fmt), ##arg)
#define pr_notice(fmt, arg...) __pr_printk(5, pr_fmt(fmt), ##arg)
#define pr_info(fmt, arg...) __pr_printk(6, pr_fmt(fmt), ##arg)
#define pr_debug(fmt, arg...) __pr_printk(7, pr_fmt(fmt), ##arg)