diff options
author | Russell Bryant <russell@digium.com> | 2008-08-03 16:47:46 +0000 |
---|---|---|
committer | Russell Bryant <russell@digium.com> | 2008-08-03 16:47:46 +0000 |
commit | ad59317fbfddd1d6624e8128f556d85e7e17d935 (patch) | |
tree | d76f5176789981ba3f8ee905a4ba8ae926ff6b95 /drivers/dahdi/xpp/xproto.c | |
parent | 53bb164eda38b8591a88146fbf81652041eeb9b1 (diff) |
Change all instances of printk in DAHDI to include a priority
(closes issue #11504)
Reported by: tzafrir
Patches:
20080717__issue11504_dahdi_printk_without_priority.diff uploaded by bbryant (license 36)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4685 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xproto.c')
-rw-r--r-- | drivers/dahdi/xpp/xproto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dahdi/xpp/xproto.c b/drivers/dahdi/xpp/xproto.c index 72686e3..b0d5768 100644 --- a/drivers/dahdi/xpp/xproto.c +++ b/drivers/dahdi/xpp/xproto.c @@ -309,7 +309,7 @@ void dump_packet(const char *msg, const xpacket_t *packet, bool debug) int i; byte *p = (byte *)packet; - printk(" BYTES: "); + printk(KERN_DEBUG " BYTES: "); for(i = 0; i < XPACKET_LEN(packet); i++) { static int limiter = 0; @@ -325,11 +325,11 @@ void dump_packet(const char *msg, const xpacket_t *packet, bool debug) break; } if (debug) - printk("%02X ", p[i]); + printk(KERN_DEBUG "%02X ", p[i]); } } #endif - printk("\n"); + printk(KERN_DEBUG "\n"); } void dump_reg_cmd(const char msg[], bool writing, xbus_t *xbus, |