diff options
author | bde <bde@FreeBSD.org> | 1997-12-19 23:46:21 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-12-19 23:46:21 +0000 |
commit | 75c4ef96e7911599f55f12a729171537ecdb094d (patch) | |
tree | 9ba2e5e47338e209e35dbf866c2023c836a3c695 /sys/netinet/tcp_input.c | |
parent | 1c88036d0120472bdb2e0d7e87bf56cfd27def72 (diff) | |
download | FreeBSD-src-75c4ef96e7911599f55f12a729171537ecdb094d.zip FreeBSD-src-75c4ef96e7911599f55f12a729171537ecdb094d.tar.gz |
Don't use ANSI string concatenation to misformat a string.
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 31fa80d..ca4430d 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_input.c 8.12 (Berkeley) 5/24/95 - * $Id: tcp_input.c,v 1.65 1997/11/07 08:53:21 phk Exp $ + * $Id: tcp_input.c,v 1.66 1997/11/20 20:04:49 wollman Exp $ */ #include "opt_tcpdebug.h" @@ -385,10 +385,10 @@ findpcb: char buf[4*sizeof "123"]; strcpy(buf, inet_ntoa(ti->ti_dst)); - log(LOG_INFO, "Connection attempt to TCP %s:%d" - " from %s:%d\n", - buf, ntohs(ti->ti_dport), - inet_ntoa(ti->ti_src), ntohs(ti->ti_sport)); + log(LOG_INFO, + "Connection attempt to TCP %s:%d from %s:%d\n", + buf, ntohs(ti->ti_dport), inet_ntoa(ti->ti_src), + ntohs(ti->ti_sport)); } goto dropwithreset; } |