Hide the "devclass_alloc_unit: %s%d already exists, using next available..."

behind bootverbose

Approved by: jkh
This commit is contained in:
Søren Schmidt 2000-02-20 10:07:28 +00:00
parent 218e70aa03
commit a6e23e28c1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57356

View File

@ -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;
}
}