From 4cb5c6109a52032d010c41352bc2317610c40357 Mon Sep 17 00:00:00 2001 From: rwatson Date: Fri, 27 Dec 2002 17:50:39 +0000 Subject: Use UID_ and GID_ constants instead of hard-coded numeric values with make_dev(). Use OPERATOR instead of implicit WHEEL to match other storage devices. Use a mode of 0640 to be consistent with other storage devices. Submitted by: kris Reviewed by: scottl --- sys/dev/asr/asr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/asr/asr.c') 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 */ -- cgit v1.1