summaryrefslogtreecommitdiff
path: root/libexec/telnetd/utility.c
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2002-06-09 00:41:27 +0000
committerHans Insulander <hin@cvs.openbsd.org>2002-06-09 00:41:27 +0000
commit31b4bb2671a8840cece24114e751cc51e5833502 (patch)
treedfb2e7cea760fd077c4662ec4cfe16a6377329e1 /libexec/telnetd/utility.c
parentc6c3c6918bafcdc031bbb9b1890a66ec79642a10 (diff)
no \n for syslog()
Diffstat (limited to 'libexec/telnetd/utility.c')
-rw-r--r--libexec/telnetd/utility.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/telnetd/utility.c b/libexec/telnetd/utility.c
index b0332126b13..a16bc3ae340 100644
--- a/libexec/telnetd/utility.c
+++ b/libexec/telnetd/utility.c
@@ -65,10 +65,10 @@ ttloop(void)
if (ncc < 0) {
if (errno == EINTR)
return 1;
- syslog(LOG_INFO, "ttloop: read: %m\n");
+ syslog(LOG_INFO, "ttloop: read: %m");
exit(1);
} else if (ncc == 0) {
- syslog(LOG_INFO, "ttloop: peer died\n");
+ syslog(LOG_INFO, "ttloop: peer died");
exit(1);
}
DIAG(TD_REPORT, {