diff options
author | 2020-10-19 08:07:08 +0000 | |
---|---|---|
committer | 2020-10-19 08:07:08 +0000 | |
commit | 1571140e5d5a6a27849170a28e4faff0efac9611 (patch) | |
tree | a414875402b5ae25d982e5354c9ed5af9bfa1d0e /usr.bin/ssh/ssh-keyscan.c | |
parent | On powerpc64, restore %r2 when needed while unwinding. (diff) | |
download | wireguard-openbsd-1571140e5d5a6a27849170a28e4faff0efac9611.tar.xz wireguard-openbsd-1571140e5d5a6a27849170a28e4faff0efac9611.zip |
fix SEGV on fatal() errors spotted by dtucker@
Diffstat (limited to 'usr.bin/ssh/ssh-keyscan.c')
-rw-r--r-- | usr.bin/ssh/ssh-keyscan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c index 18c0144c17a..04b12e81f38 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.136 2020/10/18 11:32:02 djm Exp $ */ +/* $OpenBSD: ssh-keyscan.c,v 1.137 2020/10/19 08:07:08 djm Exp $ */ /* * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. * @@ -623,7 +623,7 @@ sshfatal(const char *file, const char *func, int line, int showfunc, va_list args; va_start(args, fmt); - sshlog(file, func, line, showfunc, level, suffix, fmt, args); + sshlogv(file, func, line, showfunc, level, suffix, fmt, args); va_end(args); cleanup_exit(255); } |