summaryrefslogtreecommitdiffstats
path: root/sys/cam/ctl
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2017-01-05 11:16:15 +0000
committermav <mav@FreeBSD.org>2017-01-05 11:16:15 +0000
commit332ce770ba3f7c8a87e997d5f1f1c4c6dfdc9d8c (patch)
treeaf96fbe5519426d587c36f9c6ed8b8e9311797cf /sys/cam/ctl
parente04a83422ac85eac8a439918deb8cd543d75e96f (diff)
downloadFreeBSD-src-332ce770ba3f7c8a87e997d5f1f1c4c6dfdc9d8c.zip
FreeBSD-src-332ce770ba3f7c8a87e997d5f1f1c4c6dfdc9d8c.tar.gz
MFC r294558: Hide "soconnect() error" messages under bootverbose.
They can be too noisy.
Diffstat (limited to 'sys/cam/ctl')
-rw-r--r--sys/cam/ctl/ctl_ha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/ctl/ctl_ha.c b/sys/cam/ctl/ctl_ha.c
index 5e31b41..57466ec 100644
--- a/sys/cam/ctl/ctl_ha.c
+++ b/sys/cam/ctl/ctl_ha.c
@@ -443,7 +443,7 @@ ctl_ha_connect(struct ha_softc *softc)
memcpy(&sa, &softc->ha_peer_in, sizeof(sa));
error = soconnect(so, (struct sockaddr *)&sa, td);
- if (error != 0) {
+ if (error != 0 && bootverbose) {
printf("%s: soconnect() error %d\n", __func__, error);
goto out;
}
OpenPOWER on IntegriCloud