summaryrefslogtreecommitdiffstats
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/log.c b/src/log.c
index 87a0fb85..7e60aee8 100644
--- a/src/log.c
+++ b/src/log.c
@@ -91,9 +91,9 @@ static void do_ssh_log(struct ssh_common_struct *common,
rc = current_timestring(1, date, sizeof(date));
if (rc == 0) {
- fprintf(stderr, "[%s, %d] %s\n", date, verbosity, function);
+ fprintf(stderr, "[%s, %d] %s", date, verbosity, function);
} else {
- fprintf(stderr, "[%d] %s\n", verbosity, function);
+ fprintf(stderr, "[%d] %s", verbosity, function);
}
fprintf(stderr, " %s\n", buffer);
}