diff options
author | 2020-10-17 01:28:20 +0000 | |
---|---|---|
committer | 2020-10-17 01:28:20 +0000 | |
commit | 5461b00b1759778b51fc83829523de99a5b8b3fb (patch) | |
tree | 21c651758bde59d1dec94ae9bb28584577776e06 /usr.bin/ssh/ssh-keyscan.c | |
parent | Use the retguard macros from asm.h to protect the function. (diff) | |
download | wireguard-openbsd-5461b00b1759778b51fc83829523de99a5b8b3fb.tar.xz wireguard-openbsd-5461b00b1759778b51fc83829523de99a5b8b3fb.zip |
make the log functions that exit (sshlogdie(), sshfatal(), etc) have
identical signatures. Makes things a bit more consistent...
Diffstat (limited to 'usr.bin/ssh/ssh-keyscan.c')
-rw-r--r-- | usr.bin/ssh/ssh-keyscan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c index a362e397858..4c3a202b5df 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.133 2020/10/16 13:24:45 djm Exp $ */ +/* $OpenBSD: ssh-keyscan.c,v 1.134 2020/10/17 01:28:20 djm Exp $ */ /* * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. * @@ -617,13 +617,13 @@ do_host(char *host) } void -sshfatal(const char *file, const char *func, int line, - const char *fmt, ...) +sshfatal(const char *file, const char *func, int line, int showfunc, + LogLevel level, const char *fmt, ...) { va_list args; va_start(args, fmt); - ssh_log(file, func, line, SYSLOG_LEVEL_FATAL, fmt, args); + ssh_log(file, func, line, showfunc, level, fmt, args); va_end(args); cleanup_exit(255); } |