Conditionalise unwanted chattyness.

This commit is contained in:
jkh 1999-11-19 23:34:01 +00:00
parent e68cdbf656
commit 87395558f4

View File

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