[dahdi-commits] tzafrir: linux/trunk r10446 - /linux/trunk/include/dahdi/kernel.h

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Wed Jan 25 15:16:44 CST 2012


Author: tzafrir
Date: Wed Jan 25 15:16:40 2012
New Revision: 10446

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10446
Log:
better chan_printk() output

Add the word "chan-" before channel numbers

Signed-off-by: Oron Peled <oron.peled at xorcom.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>

Modified:
    linux/trunk/include/dahdi/kernel.h

Modified: linux/trunk/include/dahdi/kernel.h
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/include/dahdi/kernel.h?view=diff&rev=10446&r1=10445&r2=10446
==============================================================================
--- linux/trunk/include/dahdi/kernel.h (original)
+++ linux/trunk/include/dahdi/kernel.h Wed Jan 25 15:16:40 2012
@@ -1523,7 +1523,7 @@
 	printk(KERN_ ## level "%s%s-%s: span-%d: " fmt, #level,	\
 		category, THIS_MODULE->name, (span)->spanno, ## __VA_ARGS__)
 #define	chan_printk(level, category, chan, fmt, ...)	\
-	printk(KERN_ ## level "%s%s-%s: %d: " fmt, #level,	\
+	printk(KERN_ ## level "%s%s-%s: chan-%d: " fmt, #level,	\
 		category, THIS_MODULE->name, (chan)->channo, ## __VA_ARGS__)
 #define	dahdi_err(fmt, ...)	DAHDI_PRINTK(ERR, "", fmt, ## __VA_ARGS__)
 #define	span_info(span, fmt, ...)	span_printk(INFO, "", span, fmt, \




More information about the dahdi-commits mailing list