diff options
author | mav <mav@FreeBSD.org> | 2016-01-22 09:32:19 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2016-01-22 09:32:19 +0000 |
commit | 3610cee751acd91ef3ad50a6195fa89a573bea4f (patch) | |
tree | 0f78c967a371816e97d1de98c80cb586b69481c3 | |
parent | 132b95f01cef8eea9b84c33c9e5e689de4dd850a (diff) | |
download | FreeBSD-src-3610cee751acd91ef3ad50a6195fa89a573bea4f.zip FreeBSD-src-3610cee751acd91ef3ad50a6195fa89a573bea4f.tar.gz |
Hide "soconnect() error" messages under bootverbose.
They can be too noisy.
-rw-r--r-- | sys/cam/ctl/ctl_ha.c | 2 |
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; } |