From ac95ade8aef694f1764b037dc69872fdaa911d28 Mon Sep 17 00:00:00 2001 From: Oron Peled Date: Wed, 25 Jan 2012 21:16:40 +0000 Subject: [PATCH] better chan_printk() output Add the word "chan-" before channel numbers Signed-off-by: Oron Peled Acked-by: Tzafrir Cohen git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10446 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- include/dahdi/kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 461cdc7..818df60 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -1523,7 +1523,7 @@ struct mutex { 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, \