diff options
author | jkh <jkh@FreeBSD.org> | 1999-11-19 23:34:01 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-11-19 23:34:01 +0000 |
commit | 87395558f4dfa9d6d9428f7975f4914f87048226 (patch) | |
tree | 00622c37072340912fb8fe9391aaf569e4fee683 /sys | |
parent | e68cdbf6569a239c7efa463844f7dd47f587706c (diff) | |
download | FreeBSD-src-87395558f4dfa9d6d9428f7975f4914f87048226.zip FreeBSD-src-87395558f4dfa9d6d9428f7975f4914f87048226.tar.gz |
Conditionalise unwanted chattyness.
Diffstat (limited to 'sys')
-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 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); |