diff options
author | 2001-03-04 17:42:27 +0000 | |
---|---|---|
committer | 2001-03-04 17:42:27 +0000 | |
commit | 1b49324a9139e7dd36399913557482a3fb760af8 (patch) | |
tree | 0a56f331f9ad9660d5661b42bf8d5fd9c22cd23a /usr.bin/ssh/dh.c | |
parent | avoid possible align issue. sync with kame (diff) | |
download | wireguard-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/dh.c')
-rw-r--r-- | usr.bin/ssh/dh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/dh.c b/usr.bin/ssh/dh.c index f1f7e5d43fa..c88a014a5c3 100644 --- a/usr.bin/ssh/dh.c +++ b/usr.bin/ssh/dh.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: dh.c,v 1.6 2001/01/21 19:05:49 markus Exp $"); +RCSID("$OpenBSD: dh.c,v 1.7 2001/03/04 17:42:28 millert Exp $"); #include "xmalloc.h" @@ -90,7 +90,7 @@ parse_prime(int linenum, char *line, struct dhgroup *dhg) return (1); fail: - error("Bad prime description in line %d\n", linenum); + error("Bad prime description in line %d", linenum); return (0); } |