summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-01-25 21:16:40 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-01-25 21:16:40 +0000
commitee996b390cdd9145fb1beda37fbef888217533f3 (patch)
tree24aa1c653679af445540660ef4aabbc357afaa3b /include
parent11709e8c393a3d991ce23b10a96da5b7b6ab5862 (diff)
better chan_printk() output
Add the word "chan-" before channel numbers Signed-off-by: Oron Peled <oron.peled@xorcom.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10446 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/kernel.h2
1 files changed, 1 insertions, 1 deletions
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, \