summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uvscom.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uvscom.c')
-rw-r--r--sys/dev/usb/uvscom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uvscom.c b/sys/dev/usb/uvscom.c
index 989f1a8..bef84f8 100644
--- a/sys/dev/usb/uvscom.c
+++ b/sys/dev/usb/uvscom.c
@@ -268,7 +268,7 @@ sysctl_hw_usb_uvscom_opktsize(SYSCTL_HANDLER_ARGS)
int err, val;
val = uvscomobufsiz;
- err = sysctl_handle_int(oidp, &val, sizeof(val), req);
+ err = sysctl_handle_int(oidp, &val, 0, req);
if (err != 0 || req->newptr == NULL)
return (err);
if (0 < val && val <= UVSCOMOBUFSIZE)
@@ -285,7 +285,7 @@ sysctl_hw_usb_uvscom_interval(SYSCTL_HANDLER_ARGS)
int err, val;
val = uvscominterval;
- err = sysctl_handle_int(oidp, &val, sizeof(val), req);
+ err = sysctl_handle_int(oidp, &val, 0, req);
if (err != 0 || req->newptr == NULL)
return (err);
if (0 < val && val <= 1000)
OpenPOWER on IntegriCloud