Date: Thu, 25 Aug 2005 04:52:08 +0100 (BST) From: Simon Morgan <sjmorgan@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sjmorgan@gmail.com Subject: kern/85271: [patch] log() call in if_atm.c omits newline Message-ID: <200508250352.j7P3q84s085194@bollo.16hz.net> Resent-Message-ID: <200508242200.j7OM0c8t077734@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 85271
>Category: kern
>Synopsis: [patch] log() call in if_atm.c omits newline
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 24 22:00:37 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Simon Morgan
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
None
>Environment:
System: FreeBSD bollo.16hz.net 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Wed Aug 24 16:58:18 BST 2005 root@bollo.16hz.net:/usr/obj/usr/src/sys/BOLLO i386
>Description:
Current behaviour results in the following output on my system:
atmresolve: BCAST/MCAST packet detected/dumpedatmresolve: BCAST/MCAST packet detected/dumpedatmresolve: BCAST/MCAST packet detected/dumpedatmresolve: BCAST/MCAST packet detected/dumpedatmresolve: BCAST/MCAST packet detected/dumpedueagle0: opening ATM virtual circuit
>How-To-Repeat:
N/A
>Fix:
--- /usr/src/sys/netinet/if_atm.c.orig Mon Jan 31 23:26:35 2005
+++ /usr/src/sys/netinet/if_atm.c Thu Aug 25 04:35:23 2005
@@ -312,7 +312,7 @@
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;
}
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508250352.j7P3q84s085194>
