diff options
Diffstat (limited to 'drivers/usb/mon/mon_stat.c')
-rw-r--r-- | drivers/usb/mon/mon_stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/mon/mon_stat.c b/drivers/usb/mon/mon_stat.c index 1fe01d994a79..86ad2b381c4b 100644 --- a/drivers/usb/mon/mon_stat.c +++ b/drivers/usb/mon/mon_stat.c | |||
@@ -28,7 +28,7 @@ static int mon_stat_open(struct inode *inode, struct file *file) | |||
28 | if ((sp = kmalloc(sizeof(struct snap), GFP_KERNEL)) == NULL) | 28 | if ((sp = kmalloc(sizeof(struct snap), GFP_KERNEL)) == NULL) |
29 | return -ENOMEM; | 29 | return -ENOMEM; |
30 | 30 | ||
31 | mbus = inode->u.generic_ip; | 31 | mbus = inode->i_private; |
32 | 32 | ||
33 | sp->slen = snprintf(sp->str, STAT_BUF_SIZE, | 33 | sp->slen = snprintf(sp->str, STAT_BUF_SIZE, |
34 | "nreaders %d events %u text_lost %u\n", | 34 | "nreaders %d events %u text_lost %u\n", |