diff options
Diffstat (limited to 'drivers/usb/devio.c')
-rw-r--r-- | drivers/usb/devio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/devio.c b/drivers/usb/devio.c index 235385515..d6cedee9b 100644 --- a/drivers/usb/devio.c +++ b/drivers/usb/devio.c @@ -1044,7 +1044,7 @@ static int proc_ioctl (struct dev_state *ps, void *arg) kfree (buf); return -EFAULT; } else - memset (arg, size, 0); + memset (arg, 0, size); } /* ioctl to device */ |