From c4d21ca2295695a9c0be375a61a88fd61a40bab0 Mon Sep 17 00:00:00 2001 From: sos Date: Sun, 20 Feb 2000 10:07:28 +0000 Subject: [PATCH] Hide the "devclass_alloc_unit: %s%d already exists, using next available..." behind bootverbose Approved by: jkh --- sys/kern/subr_bus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c index 89fa1436f42e..46aac7de6df7 100644 --- a/sys/kern/subr_bus.c +++ b/sys/kern/subr_bus.c @@ -490,7 +490,8 @@ devclass_alloc_unit(devclass_t dc, int *unitp) device_t dev; dev = devclass_get_device(dc, unit); if (dev) { - printf("devclass_alloc_unit: %s%d already exists, using next available unit number\n", dc->name, unit); + if (bootverbose) + printf("devclass_alloc_unit: %s%d already exists, using next available unit number\n", dc->name, unit); unit = -1; } }