summaryrefslogtreecommitdiff
path: root/libexec/telnetd/state.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 /libexec/telnetd/state.c
parent1312340e81adc02ff3f652aacc20b2df4ceacf84 (diff)
do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabbling
Diffstat (limited to 'libexec/telnetd/state.c')
-rw-r--r--libexec/telnetd/state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c
index 2ba68666121..5e8174cdb39 100644
--- a/libexec/telnetd/state.c
+++ b/libexec/telnetd/state.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: state.c,v 1.7 1998/03/25 18:43:46 art Exp $ */
+/* $OpenBSD: state.c,v 1.8 1998/07/10 08:06:21 deraadt Exp $ */
/* $NetBSD: state.c,v 1.9 1996/02/28 20:38:19 thorpej Exp $ */
/*
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)state.c 8.5 (Berkeley) 5/30/95";
static char rcsid[] = "$NetBSD: state.c,v 1.9 1996/02/28 20:38:19 thorpej Exp $";
#else
-static char rcsid[] = "$OpenBSD: state.c,v 1.7 1998/03/25 18:43:46 art Exp $";
+static char rcsid[] = "$OpenBSD: state.c,v 1.8 1998/07/10 08:06:21 deraadt Exp $";
#endif
#endif /* not lint */
@@ -363,7 +363,7 @@ gotiac: switch (c) {
continue;
default:
- syslog(LOG_ERR, "telnetd: panic state=%d\n", state);
+ syslog(LOG_ERR, "telnetd: panic state=%d", state);
printf("telnetd: panic state=%d\n", state);
exit(1);
}