summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-19 02:57:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-19 02:57:34 +0000
commit9695941b4cb29dc1d3f8632423ccecd5d0a0830f (patch)
treeac455c89a3f0ff8aee8666506cf3ff8c692228f3
parentb9748a695bb4125978cf786d1e723a37dcd06fd5 (diff)
shorten
-rw-r--r--usr.bin/ssh/log-client.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/ssh/log-client.c b/usr.bin/ssh/log-client.c
index 7e9fd61e78c..7615a94f007 100644
--- a/usr.bin/ssh/log-client.c
+++ b/usr.bin/ssh/log-client.c
@@ -15,7 +15,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: log-client.c,v 1.9 2000/06/20 01:39:42 markus Exp $");
+RCSID("$OpenBSD: log-client.c,v 1.10 2000/08/19 02:57:33 deraadt Exp $");
#include "xmalloc.h"
#include "ssh.h"
@@ -57,6 +57,5 @@ do_log(LogLevel level, const char *fmt, va_list args)
if (level == SYSLOG_LEVEL_DEBUG)
fprintf(stderr, "debug: ");
vsnprintf(msgbuf, sizeof(msgbuf), fmt, args);
- fprintf(stderr, "%s", msgbuf);
- fprintf(stderr, "\r\n");
+ fprintf(stderr, "%s\r\n", msgbuf);
}