summaryrefslogtreecommitdiffstats
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2002-11-25 04:55:09 +0000
committerscottl <scottl@FreeBSD.org>2002-11-25 04:55:09 +0000
commit9dbc7e40ade253eb63682614161ee984c9dabd3b (patch)
tree024d53c473a15028384c554a75b70316e627f458 /sys/dev/raidframe
parenta56c7aacb81d3af08a29a8271acf09989be13895 (diff)
downloadFreeBSD-src-9dbc7e40ade253eb63682614161ee984c9dabd3b.zip
FreeBSD-src-9dbc7e40ade253eb63682614161ee984c9dabd3b.tar.gz
Fix make_dev() to use 0644 instead of 0x644 for default permissions
Spotted by: kris Approved by: re
Diffstat (limited to 'sys/dev/raidframe')
-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 b7003b5..49419ef 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;
OpenPOWER on IntegriCloud