mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57356
@ -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…
Reference in New Issue
Block a user