Author: mav Date: Thu Jan 5 16:30:13 2017 New Revision: 311446 URL: https://svnweb.freebsd.org/changeset/base/311446
Log: Fix bootverbose affecting code logic in r294558. Reported by: Jilles Tjoelker <jil...@stack.nl> Modified: head/sys/cam/ctl/ctl_ha.c Modified: head/sys/cam/ctl/ctl_ha.c ============================================================================== --- head/sys/cam/ctl/ctl_ha.c Thu Jan 5 15:07:04 2017 (r311445) +++ head/sys/cam/ctl/ctl_ha.c Thu Jan 5 16:30:13 2017 (r311446) @@ -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-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"