summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi-base.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-09-20 20:33:43 +0000
committerShaun Ruffell <sruffell@digium.com>2010-09-20 20:33:43 +0000
commit33e5833c5135c231330c5b617caca674e4af0df0 (patch)
tree1a6d01fdf199b43b6ede8f4134f0cd87af55b9c1 /drivers/dahdi/dahdi-base.c
parent76dfb394c76f52bf38e4d4f0a8b41c2e1207a417 (diff)
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
Diffstat (limited to 'drivers/dahdi/dahdi-base.c')
-rw-r--r--drivers/dahdi/dahdi-base.c4
1 files changed, 2 insertions, 2 deletions
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) {