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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user