summaryrefslogtreecommitdiffstats
path: root/common/hush.c
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/hush.c
parent93602d190325a149dd8e22338f6bf8de84f917fc (diff)
downloadbarebox-fd6d00c56064cc770068726da16db8b1ea6bd217.tar.gz
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/hush.c')
-rw-r--r--common/hush.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/hush.c b/common/hush.c
index 792b61a..386b3d7 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 */