summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.bootparamd/bootparamd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-10 08:06:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-10 08:06:56 +0000
commitde81fe773f9f41a5f3b47ce63ea5197aed965c43 (patch)
tree85a37e2b509eac6ea0a6bb3a1030b1444a3f9027 /usr.sbin/rpc.bootparamd/bootparamd.c
parent1312340e81adc02ff3f652aacc20b2df4ceacf84 (diff)
do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabbling
Diffstat (limited to 'usr.sbin/rpc.bootparamd/bootparamd.c')
-rw-r--r--usr.sbin/rpc.bootparamd/bootparamd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/rpc.bootparamd/bootparamd.c b/usr.sbin/rpc.bootparamd/bootparamd.c
index 21548a365d5..c73167926c3 100644
--- a/usr.sbin/rpc.bootparamd/bootparamd.c
+++ b/usr.sbin/rpc.bootparamd/bootparamd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootparamd.c,v 1.8 1998/05/03 05:02:09 gene Exp $ */
+/* $OpenBSD: bootparamd.c,v 1.9 1998/07/10 08:06:50 deraadt Exp $ */
/*
* This code is not copyright, and is placed in the public domain.
@@ -145,7 +145,7 @@ bootparamproc_whoami_1_svc(whoami, rqstp)
255 & whoami->client_address.bp_address_u.ip_addr.lh,
255 & whoami->client_address.bp_address_u.ip_addr.impno);
if (dolog)
- syslog(LOG_NOTICE, "whoami got question for %d.%d.%d.%d\n",
+ syslog(LOG_NOTICE, "whoami got question for %d.%d.%d.%d",
255 & whoami->client_address.bp_address_u.ip_addr.net,
255 & whoami->client_address.bp_address_u.ip_addr.host,
255 & whoami->client_address.bp_address_u.ip_addr.lh,
@@ -181,7 +181,7 @@ bootparamproc_whoami_1_svc(whoami, rqstp)
255 & res.router_address.bp_address_u.ip_addr.lh,
255 & res.router_address.bp_address_u.ip_addr.impno);
if (dolog)
- syslog(LOG_NOTICE, "Returning %s %s %d.%d.%d.%d\n",
+ syslog(LOG_NOTICE, "Returning %s %s %d.%d.%d.%d",
res.client_name, res.domain_name,
255 & res.router_address.bp_address_u.ip_addr.net,
255 & res.router_address.bp_address_u.ip_addr.host,
@@ -194,7 +194,7 @@ failed:
if (debug)
warnx("whoami failed");
if (dolog)
- syslog(LOG_NOTICE, "whoami failed\n");
+ syslog(LOG_NOTICE, "whoami failed");
return (NULL);
}
@@ -213,7 +213,7 @@ bootparamproc_getfile_1_svc(getfile, rqstp)
getfile->client_name, getfile->file_id);
if (dolog)
- syslog(LOG_NOTICE, "getfile got question for \"%s\" and file \"%s\"\n",
+ syslog(LOG_NOTICE, "getfile got question for \"%s\" and file \"%s\"",
getfile->client_name, getfile->file_id);
he = NULL;
@@ -255,7 +255,7 @@ failed:
255 & res.server_address.bp_address_u.ip_addr.impno);
if (dolog)
syslog(LOG_NOTICE,
- "returning server:%s path:%s address: %d.%d.%d.%d\n",
+ "returning server:%s path:%s address: %d.%d.%d.%d",
res.server_name, res.server_path,
255 & res.server_address.bp_address_u.ip_addr.net,
255 & res.server_address.bp_address_u.ip_addr.host,