summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/log.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-03-04 17:42:27 +0000
committermillert <millert@openbsd.org>2001-03-04 17:42:27 +0000
commit1b49324a9139e7dd36399913557482a3fb760af8 (patch)
tree0a56f331f9ad9660d5661b42bf8d5fd9c22cd23a /usr.bin/ssh/log.c
parentavoid possible align issue. sync with kame (diff)
downloadwireguard-openbsd-1b49324a9139e7dd36399913557482a3fb760af8.tar.xz
wireguard-openbsd-1b49324a9139e7dd36399913557482a3fb760af8.zip
log functions should not be passed strings that end in newline as they
get passed on to syslog() and when logging to stderr, do_log() appends its own newline.
Diffstat (limited to 'usr.bin/ssh/log.c')
-rw-r--r--usr.bin/ssh/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/log.c b/usr.bin/ssh/log.c
index 765f6a2cbfb..34b4eb96158 100644
--- a/usr.bin/ssh/log.c
+++ b/usr.bin/ssh/log.c
@@ -34,7 +34,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: log.c,v 1.16 2001/03/03 23:59:34 markus Exp $");
+RCSID("$OpenBSD: log.c,v 1.17 2001/03/04 17:42:28 millert Exp $");
#include "log.h"
#include "xmalloc.h"
@@ -219,7 +219,7 @@ fatal_remove_cleanup(void (*proc) (void *context), void *context)
return;
}
}
- fatal("fatal_remove_cleanup: no such cleanup function: 0x%lx 0x%lx\n",
+ fatal("fatal_remove_cleanup: no such cleanup function: 0x%lx 0x%lx",
(u_long) proc, (u_long) context);
}