diff options
| author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-02-27 22:12:15 +0000 |
|---|---|---|
| committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-02-27 22:12:15 +0000 |
| commit | 50230f983b60eb74345926f20c7248a215ad329a (patch) | |
| tree | baf73e62709e6da0ff82ca62568b38760cb8b741 /sys/dev/usb/usb_dev.c | |
| parent | a09d8d7315071ef1b05163ea3cb3e0526ff89e2d (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/usb_dev.c')
| -rw-r--r-- | sys/dev/usb/usb_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_dev.c b/sys/dev/usb/usb_dev.c index 6d385ede9801..ae351847a813 100644 --- a/sys/dev/usb/usb_dev.c +++ b/sys/dev/usb/usb_dev.c @@ -1466,7 +1466,7 @@ usb2_static_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, *(int *)data = usb2_template; break; case USB_SET_TEMPLATE: - err = priv_check(curthread, PRIV_ROOT); + err = priv_check(curthread, PRIV_DRIVER); if (err) break; usb2_template = *(int *)data; |
