Don't hide the failure to allocate device behind boot verbose. It is

still telling us of real problems so should remain until it stops
doing that.

Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org>
This commit is contained in:
imp 2001-11-02 17:33:06 +00:00
parent 6f22452d47
commit e52e9d5b99

View File

@ -363,9 +363,8 @@ devclass_alloc_unit(devclass_t dc, int *unitp)
if (unit != -1) {
if (unit >= 0 && unit < dc->maxunit &&
dc->devices[unit] != NULL) {
if (bootverbose)
printf("%s-: %s%d already exists, skipping it\n",
dc->name, dc->name, *unitp);
printf("%s-: %s%d already exists, skipping it\n",
dc->name, dc->name, *unitp);
return (EEXIST);
}
} else {