Add missing "\n" in log(9)

This commit is contained in:
msaitoh 2012-09-24 03:05:53 +00:00
parent d87a39703d
commit c23ac4227f
3 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_arcsubr.c,v 1.63 2010/04/05 07:22:22 joerg Exp $ */
/* $NetBSD: if_arcsubr.c,v 1.64 2012/09/24 03:05:53 msaitoh Exp $ */
/*
* Copyright (c) 1994, 1995 Ignatios Souvatzis
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_arcsubr.c,v 1.63 2010/04/05 07:22:22 joerg Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_arcsubr.c,v 1.64 2012/09/24 03:05:53 msaitoh Exp $");
#include "opt_inet.h"
@ -633,7 +633,7 @@ arc_ifattach(struct ifnet *ifp, uint8_t lla)
ifp->if_flags |= IFF_MULTICAST|IFF_ALLMULTI;
if (ifp->if_flags & IFF_LINK0 && arc_ipmtu > ARC_PHDS_MAXMTU)
log(LOG_ERR,
"%s: arc_ipmtu is %d, but must not exceed %d",
"%s: arc_ipmtu is %d, but must not exceed %d\n",
ifp->if_xname, arc_ipmtu, ARC_PHDS_MAXMTU);
ifp->if_output = arc_output;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_atm.c,v 1.32 2011/02/01 19:43:12 chuck Exp $ */
/* $NetBSD: if_atm.c,v 1.33 2012/09/24 03:05:53 msaitoh Exp $ */
/*
* Copyright (c) 1996 Charles D. Cranor and Washington University.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_atm.c,v 1.32 2011/02/01 19:43:12 chuck Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_atm.c,v 1.33 2012/09/24 03:05:53 msaitoh Exp $");
#include "opt_inet.h"
#include "opt_natm.h"
@ -125,7 +125,7 @@ atm_rtrequest(int req, struct rtentry *rt, const struct rt_addrinfo *info)
}
if (gate->sa_family != AF_LINK ||
gate->sa_len < sockaddr_dl_measure(namelen, addrlen)) {
log(LOG_DEBUG, "atm_rtrequest: bad gateway value");
log(LOG_DEBUG, "atm_rtrequest: bad gateway value\n");
break;
}
@ -228,7 +228,7 @@ atmresolve(struct rtentry *rt, struct mbuf *m, const struct sockaddr *dst,
const struct sockaddr_dl *sdl;
if (m->m_flags & (M_BCAST|M_MCAST)) {
log(LOG_INFO, "atmresolve: BCAST/MCAST packet detected/dumped");
log(LOG_INFO, "atmresolve: BCAST/MCAST packet detected/dumped\n");
goto bad;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip_mroute.c,v 1.125 2012/05/01 15:09:36 martin Exp $ */
/* $NetBSD: ip_mroute.c,v 1.126 2012/09/24 03:05:53 msaitoh Exp $ */
/*
* Copyright (c) 1992, 1993
@ -93,7 +93,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ip_mroute.c,v 1.125 2012/05/01 15:09:36 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: ip_mroute.c,v 1.126 2012/09/24 03:05:53 msaitoh Exp $");
#include "opt_inet.h"
#include "opt_ipsec.h"
@ -3023,7 +3023,7 @@ pim_register_send(struct ip *ip, struct vif *vifp,
struct mbuf *mb_copy, *mm;
if (mrtdebug & DEBUG_PIM)
log(LOG_DEBUG, "pim_register_send: ");
log(LOG_DEBUG, "pim_register_send: \n");
mb_copy = pim_register_prepare(ip, m);
if (mb_copy == NULL)
@ -3143,7 +3143,7 @@ pim_register_send_upcall(struct ip *ip, struct vif *vifp,
if (socket_send(ip_mrouter, mb_first, &k_igmpsrc) < 0) {
if (mrtdebug & DEBUG_PIM)
log(LOG_WARNING,
"mcast: pim_register_send_upcall: ip_mrouter socket queue full");
"mcast: pim_register_send_upcall: ip_mrouter socket queue full\n");
++mrtstat.mrts_upq_sockfull;
return ENOBUFS;
}
@ -3311,7 +3311,7 @@ pim_input(struct mbuf *m, ...)
} else if (in_cksum(m, datalen)) {
pimstat.pims_rcv_badsum++;
if (mrtdebug & DEBUG_PIM)
log(LOG_DEBUG, "pim_input: invalid checksum");
log(LOG_DEBUG, "pim_input: invalid checksum\n");
m_freem(m);
return;
}