Skip to content

Commit

Permalink
upstream: ssh-keyscan doesn't need it's own sshfatal() definition, it
Browse files Browse the repository at this point in the history
can use the shared one from fatal.c

based on GHPR401 from lengyijun

OpenBSD-Commit-ID: 8ea75ea99f27f464c9223cbc89cb046ccf9cd5c4
  • Loading branch information
djmdjm committed Oct 18, 2024
1 parent 0a1e754 commit 5eb5c4b
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions ssh-keyscan.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $OpenBSD: ssh-keyscan.c,v 1.163 2024/10/18 04:14:59 djm Exp $ */
/* $OpenBSD: ssh-keyscan.c,v 1.164 2024/10/18 05:32:51 djm Exp $ */
/*
* Copyright 1995, 1996 by David Mazieres <[email protected]>.
*
Expand Down Expand Up @@ -654,18 +654,6 @@ do_host(char *host)
}
}

void
sshfatal(const char *file, const char *func, int line, int showfunc,
LogLevel level, const char *suffix, const char *fmt, ...)
{
va_list args;

va_start(args, fmt);
sshlogv(file, func, line, showfunc, level, suffix, fmt, args);
va_end(args);
cleanup_exit(255);
}

static void
usage(void)
{
Expand Down

0 comments on commit 5eb5c4b

Please sign in to comment.