diff options
Diffstat (limited to 'sys/kern/subr_disk.c')
| -rw-r--r-- | sys/kern/subr_disk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index 50cb1d827fdb..a28079c4073e 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -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); |
