summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-06-27 15:36:17 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-06-27 15:36:17 +0000
commit8c2f3507745b768fff34f12e6d735a125c0b8598 (patch)
treeb7192d7fcefde0108d5652d6ee8f5d6ced5b2c98 /include
parent383c6299767a6fb6e484ccd78c467a414ec716a3 (diff)
chan_notice() now works
Make chan_notice() and does not complain about undefined 'chan'. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8809 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 ef71459..237e1db 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -1252,7 +1252,7 @@ wait_for_completion_timeout(struct completion *x, unsigned long timeout)
## __VA_ARGS__)
#define span_err(span, fmt, ...) span_printk(ERR, "", span, fmt, \
## __VA_ARGS__)
-#define chan_notice(span, fmt, ...) chan_printk(NOTICE, "", chan, fmt, \
+#define chan_notice(chan, fmt, ...) chan_printk(NOTICE, "", chan, fmt, \
## __VA_ARGS__)
#define chan_err(chan, fmt, ...) chan_printk(ERR, "", chan, fmt, \
## __VA_ARGS__)