Fix make_dev() to use 0644 instead of 0x644 for default permissions
Spotted by: kris Approved by: re
This commit is contained in:
parent
a56c7aacb8
commit
9dbc7e40ad
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user