dahdi: 'unit' -> 'chan->channo' in a CONFIG_DAHDI_DEBUG block.

Review: https://reviewboard.asterisk.org/r/905/

Signed-off-by: Shaun Ruffell <sruffell@digium.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9371 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
Shaun Ruffell
2010-09-20 20:33:43 +00:00
parent 83dcb53e6d
commit c54662d799

View File

@@ -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) {