summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-11-27 09:41:45 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-11-27 09:41:47 +0100
commitfd6d00c56064cc770068726da16db8b1ea6bd217 (patch)
tree0f4df5f3f0baacfbec56063e61e46e1c246f3f85 /common
parent93602d190325a149dd8e22338f6bf8de84f917fc (diff)
downloadbarebox-fd6d00c56064cc770068726da16db8b1ea6bd217.tar.gz
barebox-fd6d00c56064cc770068726da16db8b1ea6bd217.tar.xz
hush: Add pr_fmt define
To give the hush debug output more context. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/hush.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/hush.c b/common/hush.c
index 792b61ac9a..386b3d7aef 100644
--- a/common/hush.c
+++ b/common/hush.c
@@ -106,6 +106,9 @@
* General Public License for more details.
*
*/
+
+#define pr_fmt(fmt) "hush: " fmt
+
#include <malloc.h> /* malloc, free, realloc*/
#include <xfuncs.h>
#include <linux/ctype.h> /* isalpha, isdigit */