summaryrefslogtreecommitdiff
path: root/drivers/dahdi/hpec/dahdi_echocan_hpec.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/hpec/dahdi_echocan_hpec.c')
-rw-r--r--drivers/dahdi/hpec/dahdi_echocan_hpec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/hpec/dahdi_echocan_hpec.c b/drivers/dahdi/hpec/dahdi_echocan_hpec.c
index 5da8c8c..eb0689d 100644
--- a/drivers/dahdi/hpec/dahdi_echocan_hpec.c
+++ b/drivers/dahdi/hpec/dahdi_echocan_hpec.c
@@ -31,7 +31,7 @@
static int debug;
#define module_printk(level, fmt, args...) printk(level "%s: " fmt, THIS_MODULE->name, ## args)
-#define debug_printk(level, fmt, args...) if (debug >= level) printk("%s (%s): " fmt, THIS_MODULE->name, __FUNCTION__, ## args)
+#define debug_printk(level, fmt, args...) if (debug >= level) printk(KERN_DEBUG "%s (%s): " fmt, THIS_MODULE->name, __FUNCTION__, ## args)
#include "hpec_user.h"
#include "hpec.h"
@@ -51,7 +51,7 @@ static int __attribute__((regparm(0))) __attribute__((format (printf, 1, 2))) lo
va_start(args, format);
res = vsnprintf(buf, sizeof(buf), format, args);
va_end(args);
- printk(buf);
+ printk(KERN_INFO "%s" buf);
#endif
return res;