summaryrefslogtreecommitdiff
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1999-11-19 23:34:01 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1999-11-19 23:34:01 +0000
commit8d67e113dc2d647f812fc9d7ec44f9d79b3e34cc (patch)
tree00622c37072340912fb8fe9391aaf569e4fee683 /sys/kern/subr_disk.c
parent83569b351c4f9868b043e7c48e90d5ba56da9838 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_disk.c')
-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 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);