summaryrefslogtreecommitdiffstats
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-10-18 13:21:59 +0200
committerDamien Miller <djm@mindrot.org>2020-10-18 13:34:20 +0200
commit9e2c4f64224f68fb84c49b5182e449f94b0dc985 (patch)
treeaa4a81152c6f6a3f06e466024680788f87069f56 /ssh-keyscan.c
parentupstream: remove a level of macro indirection; ok markus@ (diff)
downloadopenssh-9e2c4f64224f68fb84c49b5182e449f94b0dc985.tar.xz
openssh-9e2c4f64224f68fb84c49b5182e449f94b0dc985.zip
upstream: variants of the log methods that append a ssherr.h string
from a supplied error code; ok markus@ OpenBSD-Commit-ID: aed98c4435d48d036ae6740300f6a8357b7cc0bf
Diffstat (limited to '')
-rw-r--r--ssh-keyscan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index 118165595..034ed48c7 100644
--- a/ssh-keyscan.c
+++ b/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>.
*
@@ -636,12 +636,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);
}