Hide the "devclass_alloc_unit: %s%d already exists, using next available..."
behind bootverbose Approved by: jkh
This commit is contained in:
parent
218e70aa03
commit
a6e23e28c1
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user