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/udp_usrreq.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/udp_usrreq.c')
-rw-r--r-- | sys/netinet/udp_usrreq.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 036bb4e..6bd21db 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)udp_usrreq.c 8.6 (Berkeley) 5/23/95 - * $Id: udp_usrreq.c,v 1.40 1997/09/14 03:10:40 peter Exp $ + * $Id: udp_usrreq.c,v 1.41 1997/10/28 15:58:54 bde Exp $ */ #include <sys/param.h> @@ -281,10 +281,10 @@ udp_input(m, iphlen) char buf[4*sizeof "123"]; strcpy(buf, inet_ntoa(ip->ip_dst)); - log(LOG_INFO, "Connection attempt to UDP %s:%d" - " from %s:%d\n", - buf, ntohs(uh->uh_dport), - inet_ntoa(ip->ip_src), ntohs(uh->uh_sport)); + log(LOG_INFO, + "Connection attempt to UDP %s:%d from %s:%d\n", + buf, ntohs(uh->uh_dport), inet_ntoa(ip->ip_src), + ntohs(uh->uh_sport)); } udpstat.udps_noport++; if (m->m_flags & (M_BCAST | M_MCAST)) { |