From 2105f644dce2e39362617fec463c330f6465b47c Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Sun, 27 Jun 2010 15:36:17 +0000 Subject: 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 --- 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 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__) -- cgit v1.2.3