summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-11-19 23:34:01 +0000
committerjkh <jkh@FreeBSD.org>1999-11-19 23:34:01 +0000
commit87395558f4dfa9d6d9428f7975f4914f87048226 (patch)
tree00622c37072340912fb8fe9391aaf569e4fee683 /sys
parente68cdbf6569a239c7efa463844f7dd47f587706c (diff)
downloadFreeBSD-src-87395558f4dfa9d6d9428f7975f4914f87048226.zip
FreeBSD-src-87395558f4dfa9d6d9428f7975f4914f87048226.tar.gz
Conditionalise unwanted chattyness.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_disk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index 50cb1d8..a28079c 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);
OpenPOWER on IntegriCloud