summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/asr/asr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/asr/asr.c b/sys/dev/asr/asr.c
index 85d1075..c9a2959 100644
--- a/sys/dev/asr/asr.c
+++ b/sys/dev/asr/asr.c
@@ -3178,7 +3178,8 @@ asr_attach (ATTACH_ARGS)
/*
* Generate the device node information
*/
- (void)make_dev(&asr_cdevsw, unit, 0, 0, S_IRWXU, "rasr%d", unit);
+ (void)make_dev(&asr_cdevsw, unit, UID_ROOT, GID_OPERATOR, 0640,
+ "rasr%d", unit);
ATTACH_RETURN(0);
} /* asr_attach */
OpenPOWER on IntegriCloud