diff options
author | sos <sos@FreeBSD.org> | 2000-02-20 10:07:28 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2000-02-20 10:07:28 +0000 |
commit | c4d21ca2295695a9c0be375a61a88fd61a40bab0 (patch) | |
tree | dbeda14614313ff6bd42fc047755d25fcb914134 /sys/kern/subr_bus.c | |
parent | 074e39b5acb16e28021b7f87fbb53aca7583628b (diff) | |
download | FreeBSD-src-c4d21ca2295695a9c0be375a61a88fd61a40bab0.zip FreeBSD-src-c4d21ca2295695a9c0be375a61a88fd61a40bab0.tar.gz |
Hide the "devclass_alloc_unit: %s%d already exists, using next available..."
behind bootverbose
Approved by: jkh
Diffstat (limited to 'sys/kern/subr_bus.c')
-rw-r--r-- | sys/kern/subr_bus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c index 89fa143..46aac7d 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; } } |