summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb.c
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2001-02-19 18:14:49 +0000
committern_hibma <n_hibma@FreeBSD.org>2001-02-19 18:14:49 +0000
commitabff0078a1cda3822ea3dcd225f2ad102a8805c2 (patch)
tree5914403ece2b55a1719a77e0a540519d6b854f22 /sys/dev/usb/usb.c
parent046382ade5849831ef4207966289de389b86a0ee (diff)
downloadFreeBSD-src-abff0078a1cda3822ea3dcd225f2ad102a8805c2.zip
FreeBSD-src-abff0078a1cda3822ea3dcd225f2ad102a8805c2.tar.gz
Change default devfs permissions to the ones in MAKEDEV.
Suggested by: rwatson
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r--sys/dev/usb/usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index 46f1eb1..f917d1f 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -261,11 +261,11 @@ USB_ATTACH(usb)
#if defined(__FreeBSD__)
/* The per controller devices (used for usb_discover) */
make_dev(&usb_cdevsw, device_get_unit(self), UID_ROOT, GID_OPERATOR,
- 0644, "usb%d", device_get_unit(self));
+ 0660, "usb%d", device_get_unit(self));
if (!global_init_done) {
/* The device spitting out events */
make_dev(&usb_cdevsw, USB_DEV_MINOR, UID_ROOT, GID_OPERATOR,
- 0644, "usb");
+ 0660, "usb");
global_init_done = 1;
}
#endif
OpenPOWER on IntegriCloud