1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Hide "soconnect() error" messages under bootverbose.

They can be too noisy.
This commit is contained in:
Alexander Motin 2016-01-22 09:32:19 +00:00
parent 1b44593c51
commit 72cc93767c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294558

View File

@ -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;
}