aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/mon/mon_bin.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/mon/mon_bin.c')
-rw-r--r--drivers/usb/mon/mon_bin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/mon/mon_bin.c b/drivers/usb/mon/mon_bin.c
index a09dbd243eb3..a04b2ff9dd83 100644
--- a/drivers/usb/mon/mon_bin.c
+++ b/drivers/usb/mon/mon_bin.c
@@ -1101,7 +1101,7 @@ static long mon_bin_ioctl(struct file *file, unsigned int cmd, unsigned long arg
1101 nevents = mon_bin_queued(rp); 1101 nevents = mon_bin_queued(rp);
1102 1102
1103 sp = (struct mon_bin_stats __user *)arg; 1103 sp = (struct mon_bin_stats __user *)arg;
1104 if (put_user(rp->cnt_lost, &sp->dropped)) 1104 if (put_user(ndropped, &sp->dropped))
1105 return -EFAULT; 1105 return -EFAULT;
1106 if (put_user(nevents, &sp->queued)) 1106 if (put_user(nevents, &sp->queued))
1107 return -EFAULT; 1107 return -EFAULT;