summaryrefslogtreecommitdiff
path: root/libexec/talkd
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 /libexec/talkd
parent1312340e81adc02ff3f652aacc20b2df4ceacf84 (diff)
do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabbling
Diffstat (limited to 'libexec/talkd')
-rw-r--r--libexec/talkd/process.c6
-rw-r--r--libexec/talkd/table.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/libexec/talkd/process.c b/libexec/talkd/process.c
index e80e525bac5..136f2a2d797 100644
--- a/libexec/talkd/process.c
+++ b/libexec/talkd/process.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: process.c,v 1.8 1996/07/19 03:09:41 millert Exp $ */
+/* $OpenBSD: process.c,v 1.9 1998/07/10 08:06:18 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -35,7 +35,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)process.c 5.10 (Berkeley) 2/26/91";*/
-static char rcsid[] = "$Id: process.c,v 1.8 1996/07/19 03:09:41 millert Exp $";
+static char rcsid[] = "$Id: process.c,v 1.9 1998/07/10 08:06:18 deraadt Exp $";
#endif /* not lint */
/*
@@ -103,7 +103,7 @@ process_request(mp, rp)
char buf1[32], buf2[32];
strcpy(buf1, inet_ntoa(satosin(&rp->addr)->sin_addr));
strcpy(buf2, inet_ntoa(satosin(&mp->ctl_addr)->sin_addr));
- syslog(LOG_WARNING, "addresses are different, %s != %s\n",
+ syslog(LOG_WARNING, "addresses are different, %s != %s",
buf1, buf2);
}
rp->addr.sa_family = 0;
diff --git a/libexec/talkd/table.c b/libexec/talkd/table.c
index f007a7c54c4..b528907f784 100644
--- a/libexec/talkd/table.c
+++ b/libexec/talkd/table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: table.c,v 1.3 1996/07/15 05:10:11 mickey Exp $ */
+/* $OpenBSD: table.c,v 1.4 1998/07/10 08:06:19 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -35,7 +35,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)table.c 5.7 (Berkeley) 2/26/91";*/
-static char rcsid[] = "$Id: table.c,v 1.3 1996/07/15 05:10:11 mickey Exp $";
+static char rcsid[] = "$Id: table.c,v 1.4 1998/07/10 08:06:19 deraadt Exp $";
#endif /* not lint */
/*
@@ -115,7 +115,7 @@ find_match(request)
return (&ptr->request);
}
if (debug)
- syslog(LOG_DEBUG, "find_match: not found\n");
+ syslog(LOG_DEBUG, "find_match: not found");
return ((CTL_MSG *)0);
}