Missing "\n" in log(9) messages.
This commit is contained in:
parent
710bacd4ef
commit
77444ed2d8
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: if_arp.c,v 1.140 2008/05/13 18:24:01 dyoung Exp $ */
|
/* $NetBSD: if_arp.c,v 1.141 2008/08/28 07:58:05 uebayasi Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1998, 2000, 2008 The NetBSD Foundation, Inc.
|
* Copyright (c) 1998, 2000, 2008 The NetBSD Foundation, Inc.
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.140 2008/05/13 18:24:01 dyoung Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.141 2008/08/28 07:58:05 uebayasi Exp $");
|
||||||
|
|
||||||
#include "opt_ddb.h"
|
#include "opt_ddb.h"
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
|
@ -1083,13 +1083,13 @@ in_arpinput(struct mbuf *m)
|
||||||
sdl->sdl_alen != ah->ar_hln) {
|
sdl->sdl_alen != ah->ar_hln) {
|
||||||
ARP_STATINC(ARP_STAT_RCVLENCHG);
|
ARP_STATINC(ARP_STAT_RCVLENCHG);
|
||||||
log(LOG_WARNING,
|
log(LOG_WARNING,
|
||||||
"arp from %s: new addr len %d, was %d",
|
"arp from %s: new addr len %d, was %d\n",
|
||||||
in_fmtaddr(isaddr), ah->ar_hln, sdl->sdl_alen);
|
in_fmtaddr(isaddr), ah->ar_hln, sdl->sdl_alen);
|
||||||
}
|
}
|
||||||
if (ifp->if_addrlen != ah->ar_hln) {
|
if (ifp->if_addrlen != ah->ar_hln) {
|
||||||
ARP_STATINC(ARP_STAT_RCVBADLEN);
|
ARP_STATINC(ARP_STAT_RCVBADLEN);
|
||||||
log(LOG_WARNING,
|
log(LOG_WARNING,
|
||||||
"arp from %s: addr len: new %d, i/f %d (ignored)",
|
"arp from %s: addr len: new %d, i/f %d (ignored)\n",
|
||||||
in_fmtaddr(isaddr), ah->ar_hln,
|
in_fmtaddr(isaddr), ah->ar_hln,
|
||||||
ifp->if_addrlen);
|
ifp->if_addrlen);
|
||||||
goto reply;
|
goto reply;
|
||||||
|
|
Loading…
Reference in New Issue