Conditionalise unwanted chattyness.
This commit is contained in:
parent
e68cdbf656
commit
87395558f4
@ -46,7 +46,8 @@ disk_create(int unit, struct disk *dp, int flags, struct cdevsw *cdevsw, struct
|
||||
cdevsw_add(proto);
|
||||
}
|
||||
|
||||
printf("Creating DISK %s%d\n", cdevsw->d_name, unit);
|
||||
if (bootverbose)
|
||||
printf("Creating DISK %s%d\n", cdevsw->d_name, unit);
|
||||
dev = make_dev(proto, dkmakeminor(unit, WHOLE_DISK_SLICE, RAW_PART),
|
||||
0, 0, 0, "r%s%d", cdevsw->d_name, unit);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user