Fix make_dev() to use 0644 instead of 0x644 for default permissions

Spotted by: 	kris
Approved by:	re
This commit is contained in:
scottl 2002-11-25 04:55:09 +00:00
parent a56c7aacb8
commit 9dbc7e40ad

View File

@ -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;