cam: add missing MAKEDEV_NOWAIT in passregister
Reported by: dhw
This commit is contained in:
parent
dbec3e0147
commit
f1f3f7cf0b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364348
@ -652,6 +652,7 @@ passregister(struct cam_periph *periph, void *arg)
|
||||
args.mda_gid = GID_OPERATOR;
|
||||
args.mda_mode = 0600;
|
||||
args.mda_si_drv1 = periph;
|
||||
args.mda_flags = MAKEDEV_NOWAIT;
|
||||
error = make_dev_s(&args, &softc->dev, "%s%d", periph->periph_name,
|
||||
periph->unit_number);
|
||||
if (error != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user