Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jan 2011 16:14:15 -0800
From:      Craig Leres <leres@ee.lbl.gov>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/153667: [PATCH] libexec/comsat/comsat.c: gratuitous newline
Message-ID:  <4D226657.4010503@ee.lbl.gov>
Resent-Message-ID: <201101040020.p040K7sX007478@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         153667
>Category:       bin
>Synopsis:       [PATCH] libexec/comsat/comsat.c: gratuitous 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:   Tue Jan 04 00:20:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Craig Leres
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
Lawrence Berkeley National Laboratory
>Environment:
	FreeBSD hot.ee.lbl.gov 8.1-RELEASE FreeBSD 8.1-RELEASE #4 r8: Wed Dec 1
11:41:54 PST 2010
leres@ss.ee.lbl.gov:/usr/src/8.1-RELEASE/sys/amd64/compile/LBLSMPIPV6  amd64

>Description:
     There is a gratuitous newline in a debugging syslog format in
     comsat.c.

>How-To-Repeat:
>Fix:
     Patch attached.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0iZlcACgkQWxlAhAje3JvBywCfa8THYLpwQpfilZCu2wqCTFrr
Br8AnRFqvVRt440vIE6npUZrbgnwVaAP
=ey9S
-----END PGP SIGNATURE-----

--------------020501070908030102000902
Content-Type: text/plain;
 name="patch-comsat.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="patch-comsat.c"

--- comsat.c.virgin	2011-01-03 15:58:20.000000000 -0800
+++ comsat.c	2011-01-03 16:05:36.000000000 -0800
@@ -219,7 +219,7 @@
 		dsyslog(LOG_DEBUG, "%s: wrong mode on %s", utp->ut_name, tty);
 		return;
 	}
-	dsyslog(LOG_DEBUG, "notify %s on %s\n", utp->ut_name, tty);
+	dsyslog(LOG_DEBUG, "notify %s on %s", utp->ut_name, tty);
 	switch (fork()) {
 	case -1:
 		syslog(LOG_NOTICE, "fork failed (%m)");

--------------020501070908030102000902
Content-Type: application/octet-stream;
 name="patch-comsat.c.sig"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="patch-comsat.c.sig"

iEYEABECAAYFAk0iZlcACgkQWxlAhAje3JuFdwCdGhXZi6VL+717wvA0/D38ouoyv+8An37g
RRKs+7hxNzPLz927CL4BZMKe
--------------020501070908030102000902--
>Release-Note:
>Audit-Trail:
>Unformatted:
 This is a multi-part message in MIME format.
 --------------020501070908030102000902
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D226657.4010503>