aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-12-27 16:44:11 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-12-27 16:44:11 +0000
commit0c5716be398be77965f95e09f3f39586ee7845b4 (patch)
tree9d22f7a473d4db05e8db9d9d7f024a2daa186aad
parentadbc54800299605d19025a8494272e29a6e509ed (diff)
Notes
-rw-r--r--sys/dev/tga/tga_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/tga/tga_pci.c b/sys/dev/tga/tga_pci.c
index 6a7852370fc9b..24cf4a9538388 100644
--- a/sys/dev/tga/tga_pci.c
+++ b/sys/dev/tga/tga_pci.c
@@ -190,7 +190,8 @@ tga_attach(device_t dev)
}
#ifdef FB_INSTALL_CDEV
sc->cdevsw = &tga_cdevsw;
- sc->devt = make_dev(sc->cdevsw, unit, 0, 0, 02660, "tga%x", unit);
+ sc->devt = make_dev(sc->cdevsw, unit, UID_ROOT, GID_WHEEL, 0600,
+ "tga%x", unit);
#endif /* FB_INSTALL_CDEV */
goto done;
fail: