Author: mav Date: Sun Jan 8 08:52:16 2017 New Revision: 311672 URL: https://svnweb.freebsd.org/changeset/base/311672
Log: MFC r311446: Fix bootverbose affecting code logic in r294558. Reported by: Jilles Tjoelker <jil...@stack.nl> Modified: stable/11/sys/cam/ctl/ctl_ha.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/cam/ctl/ctl_ha.c ============================================================================== --- stable/11/sys/cam/ctl/ctl_ha.c Sun Jan 8 08:36:37 2017 (r311671) +++ stable/11/sys/cam/ctl/ctl_ha.c Sun Jan 8 08:52:16 2017 (r311672) @@ -443,8 +443,9 @@ 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 && bootverbose) { - printf("%s: soconnect() error %d\n", __func__, error); + if (error != 0) { + if (bootverbose) + printf("%s: soconnect() error %d\n", __func__, error); goto out; } return (0); _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"