From 138c0d52cdc90f9895333b82fc57d81cce7a3d90 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 2 Apr 2019 18:21:35 +1100 Subject: Adapt custom_failed_login to new prototype. Spotted by Kevin Brott. --- openbsd-compat/port-aix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index 52698050c..b61018b56 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c @@ -313,7 +313,8 @@ sys_auth_get_lastlogin_msg(const char *user, uid_t uid) * record_failed_login: generic "login failed" interface function */ void -record_failed_login(const char *user, const char *hostname, const char *ttyname) +record_failed_login(struct ssh *ssh, const char *user, const char *hostname, + const char *ttyname) { if (geteuid() != 0) return; -- cgit v1.2.3