Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2016 09:32:19 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r294558 - head/sys/cam/ctl
Message-ID:  <201601220932.u0M9WJ7S004229@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Fri Jan 22 09:32:19 2016
New Revision: 294558
URL: https://svnweb.freebsd.org/changeset/base/294558

Log:
  Hide "soconnect() error" messages under bootverbose.
  
  They can be too noisy.

Modified:
  head/sys/cam/ctl/ctl_ha.c

Modified: head/sys/cam/ctl/ctl_ha.c
==============================================================================
--- head/sys/cam/ctl/ctl_ha.c	Fri Jan 22 09:06:40 2016	(r294557)
+++ head/sys/cam/ctl/ctl_ha.c	Fri Jan 22 09:32:19 2016	(r294558)
@@ -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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601220932.u0M9WJ7S004229>