summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-04-02 18:21:35 +1100
committerDarren Tucker <dtucker@dtucker.net>2019-04-02 18:21:35 +1100
commit138c0d52cdc90f9895333b82fc57d81cce7a3d90 (patch)
treea7ff69d2c8fa8007c59e5c88d682786eb495b67a /openbsd-compat
parenta0ca4009ab2f0b1007ec8ab6864dbf9b760a8ed5 (diff)
Adapt custom_failed_login to new prototype.
Spotted by Kevin Brott.
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/port-aix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index 52698050..b61018b5 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;