summaryrefslogtreecommitdiffstats
path: root/sys/dev/tdfx
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-12-27 16:40:54 +0000
committerrwatson <rwatson@FreeBSD.org>2002-12-27 16:40:54 +0000
commitc4c3d27cd6dc89c28d6be711353bf22b814183b5 (patch)
treea00e4929275d8f946bc37944fb79e1c7a856e365 /sys/dev/tdfx
parent7d61eb935fac139abc7ddb435dd1f2b1f1452275 (diff)
downloadFreeBSD-src-c4c3d27cd6dc89c28d6be711353bf22b814183b5.zip
FreeBSD-src-c4c3d27cd6dc89c28d6be711353bf22b814183b5.tar.gz
Make use of UID_ROOT, GID_WHEEL for make_dev() arguments.
Remove the setgid bit from the 3dfx device (?). Synchronize permissions with the values in MAKEDEV for consistency. Submitted by: kris
Diffstat (limited to 'sys/dev/tdfx')
-rw-r--r--sys/dev/tdfx/tdfx_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c
index 6a3b531..40fcfad 100644
--- a/sys/dev/tdfx/tdfx_pci.c
+++ b/sys/dev/tdfx/tdfx_pci.c
@@ -269,7 +269,7 @@ tdfx_attach(device_t dev) {
* Why would we want that many voodoo cards anyhow?
*/
tdfx_info->devt = make_dev(&tdfx_cdev, device_get_unit(dev),
- 0, 0, 02660, "3dfx%x", device_get_unit(dev));
+ UID_ROOT, GID_WHEEL, 0600, "3dfx%x", device_get_unit(dev));
return 0;
}
OpenPOWER on IntegriCloud