From 33e5833c5135c231330c5b617caca674e4af0df0 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 20 Sep 2010 20:33:43 +0000 Subject: dahdi: 'unit' -> 'chan->channo' in a CONFIG_DAHDI_DEBUG block. Review: https://reviewboard.asterisk.org/r/905/ Signed-off-by: Shaun Ruffell git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9371 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/dahdi-base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/dahdi/dahdi-base.c') diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c index 778d1ec..506021d 100644 --- a/drivers/dahdi/dahdi-base.c +++ b/drivers/dahdi/dahdi-base.c @@ -2275,8 +2275,8 @@ static ssize_t dahdi_chan_write(struct file *file, const char __user *usrbuf, } #ifdef CONFIG_DAHDI_DEBUG - module_printk(KERN_NOTICE, "dahdi_chan_write(unit: %d, res: %d, outwritebuf: %d amnt: %d\n", - unit, res, chan->outwritebuf, amnt); + module_printk(KERN_NOTICE, "dahdi_chan_write(chan: %d, res: %d, outwritebuf: %d amnt: %d\n", + chan->channo, res, chan->outwritebuf, amnt); #endif if (amnt) { -- cgit v1.2.3