diff options
author | 2020-10-18 11:21:59 +0000 | |
---|---|---|
committer | 2020-10-18 11:21:59 +0000 | |
commit | 3b0e42c5f5adc8f16cc28605210d2b06223d43e7 (patch) | |
tree | fd5c5d339a43f1cd30f1e5627122d80037b7b0cb /usr.bin/ssh/ssh-keyscan.c | |
parent | remove a level of macro indirection; ok markus@ (diff) | |
download | wireguard-openbsd-3b0e42c5f5adc8f16cc28605210d2b06223d43e7.tar.xz wireguard-openbsd-3b0e42c5f5adc8f16cc28605210d2b06223d43e7.zip |
variants of the log methods that append a ssherr.h string from
a supplied error code; ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh-keyscan.c')
-rw-r--r-- | usr.bin/ssh/ssh-keyscan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c index 4c3a202b5df..dd5d2344ab7 100644 --- a/usr.bin/ssh/ssh-keyscan.c +++ b/usr.bin/ssh/ssh-keyscan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keyscan.c,v 1.134 2020/10/17 01:28:20 djm Exp $ */ +/* $OpenBSD: ssh-keyscan.c,v 1.135 2020/10/18 11:21:59 djm Exp $ */ /* * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. * @@ -618,12 +618,12 @@ do_host(char *host) void sshfatal(const char *file, const char *func, int line, int showfunc, - LogLevel level, const char *fmt, ...) + LogLevel level, const char *suffix, const char *fmt, ...) { va_list args; va_start(args, fmt); - ssh_log(file, func, line, showfunc, level, fmt, args); + sshlog(file, func, line, showfunc, level, suffix, fmt, args); va_end(args); cleanup_exit(255); } |