diff options
author | imp <imp@FreeBSD.org> | 2001-11-02 17:33:06 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-11-02 17:33:06 +0000 |
commit | e52e9d5b995d096ac83af5a45b69f59296456d54 (patch) | |
tree | e883a84e2e3e654f556b1635d389109b04fe8f23 /sys/kern | |
parent | 6f22452d47ab1ef0b6917a478b886a14bd9d2a95 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/kern/subr_bus.c | 5 |
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 { |