svn commit: r311400 - stable/10/sys/cam/ctl
Alexander Motin
mav at FreeBSD.org
Thu Jan 5 11:16:17 UTC 2017
Author: mav
Date: Thu Jan 5 11:16:15 2017
New Revision: 311400
URL: https://svnweb.freebsd.org/changeset/base/311400
Log:
MFC r294558: Hide "soconnect() error" messages under bootverbose.
They can be too noisy.
Modified:
stable/10/sys/cam/ctl/ctl_ha.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/cam/ctl/ctl_ha.c
==============================================================================
--- stable/10/sys/cam/ctl/ctl_ha.c Thu Jan 5 11:03:58 2017 (r311399)
+++ stable/10/sys/cam/ctl/ctl_ha.c Thu Jan 5 11:16:15 2017 (r311400)
@@ -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;
}
More information about the svn-src-stable
mailing list