aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2002-11-25 04:55:09 +0000
committerScott Long <scottl@FreeBSD.org>2002-11-25 04:55:09 +0000
commitbde9cfc2b022da8b2a37e8ea77d48fdac1c9c4eb (patch)
tree024d53c473a15028384c554a75b70316e627f458
parentcec762959b0fca835791a4313a25deef346d4478 (diff)
downloadsrc-bde9cfc2b022da8b2a37e8ea77d48fdac1c9c4eb.tar.gz
src-bde9cfc2b022da8b2a37e8ea77d48fdac1c9c4eb.zip
Fix make_dev() to use 0644 instead of 0x644 for default permissions
Spotted by: kris Approved by: re
Notes
Notes: svn path=/head/; revision=107219
-rw-r--r--sys/dev/raidframe/rf_freebsdkintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/raidframe/rf_freebsdkintf.c b/sys/dev/raidframe/rf_freebsdkintf.c
index b7003b5f367d..49419ef29217 100644
--- a/sys/dev/raidframe/rf_freebsdkintf.c
+++ b/sys/dev/raidframe/rf_freebsdkintf.c
@@ -383,7 +383,7 @@ raidattach(void)
return;
}
- parent_sc->sc_dev= make_dev(&raidctl_cdevsw, 0, 0, 0, 0x644, "raidctl");
+ parent_sc->sc_dev= make_dev(&raidctl_cdevsw, 0, 0, 0, 0644, "raidctl");
parent_sc->sc_dev->si_drv1 = parent_sc;
raidctl_dev = parent_sc->sc_dev;