summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_bus.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-11-02 17:33:06 +0000
committerimp <imp@FreeBSD.org>2001-11-02 17:33:06 +0000
commite52e9d5b995d096ac83af5a45b69f59296456d54 (patch)
treee883a84e2e3e654f556b1635d389109b04fe8f23 /sys/kern/subr_bus.c
parent6f22452d47ab1ef0b6917a478b886a14bd9d2a95 (diff)
downloadFreeBSD-src-e52e9d5b995d096ac83af5a45b69f59296456d54.zip
FreeBSD-src-e52e9d5b995d096ac83af5a45b69f59296456d54.tar.gz
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>
Diffstat (limited to 'sys/kern/subr_bus.c')
-rw-r--r--sys/kern/subr_bus.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
index 6937b56..77912f2 100644
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -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 {
OpenPOWER on IntegriCloud