svn commit: r351117 - stable/11/sys/netipsec
Andrey V. Elsukov
ae at FreeBSD.org
Fri Aug 16 12:28:38 UTC 2019
Author: ae
Date: Fri Aug 16 12:28:37 2019
New Revision: 351117
URL: https://svnweb.freebsd.org/changeset/base/351117
Log:
MFC r350816:
Add missing new line in several log messages.
PR: 239694
Modified:
stable/11/sys/netipsec/key.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/netipsec/key.c
==============================================================================
--- stable/11/sys/netipsec/key.c Fri Aug 16 12:27:19 2019 (r351116)
+++ stable/11/sys/netipsec/key.c Fri Aug 16 12:28:37 2019 (r351117)
@@ -238,7 +238,7 @@ key_saidxhash(const struct secasindex *saidx)
#endif
default:
hval = 0;
- ipseclog((LOG_DEBUG, "%s: unknown address family %d",
+ ipseclog((LOG_DEBUG, "%s: unknown address family %d\n",
__func__, saidx->dst.sa.sa_family));
}
return (hval);
@@ -1912,8 +1912,8 @@ key_spdadd(struct socket *so, struct mbuf *m, const st
key_freesp(&newsp);
} else {
key_freesp(&newsp);
- ipseclog((LOG_DEBUG, "%s: a SP entry exists already.",
- __func__));
+ ipseclog((LOG_DEBUG,
+ "%s: a SP entry exists already.\n", __func__));
return (key_senderror(so, m, EEXIST));
}
}
@@ -5297,7 +5297,7 @@ key_update(struct socket *so, struct mbuf *m, const st
}
/* saidx should match with SA. */
if (key_cmpsaidx(&sav->sah->saidx, &saidx, CMP_MODE_REQID) == 0) {
- ipseclog((LOG_DEBUG, "%s: saidx mismatched for SPI %u",
+ ipseclog((LOG_DEBUG, "%s: saidx mismatched for SPI %u\n",
__func__, ntohl(sav->spi)));
key_freesav(&sav);
return key_senderror(so, m, ESRCH);
@@ -6776,14 +6776,14 @@ key_acqdone(const struct secasindex *saidx, uint32_t s
if (acq != NULL) {
if (key_cmpsaidx(&acq->saidx, saidx, CMP_EXACTLY) == 0) {
ipseclog((LOG_DEBUG,
- "%s: Mismatched saidx for ACQ %u", __func__, seq));
+ "%s: Mismatched saidx for ACQ %u\n", __func__, seq));
acq = NULL;
} else {
acq->created = 0;
}
} else {
ipseclog((LOG_DEBUG,
- "%s: ACQ %u is not found.", __func__, seq));
+ "%s: ACQ %u is not found.\n", __func__, seq));
}
ACQ_UNLOCK();
if (acq == NULL)
More information about the svn-src-stable
mailing list