diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-04-02 18:21:35 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-04-02 18:21:35 +1100 |
commit | 138c0d52cdc90f9895333b82fc57d81cce7a3d90 (patch) | |
tree | a7ff69d2c8fa8007c59e5c88d682786eb495b67a /openbsd-compat/port-aix.c | |
parent | a0ca4009ab2f0b1007ec8ab6864dbf9b760a8ed5 (diff) |
Adapt custom_failed_login to new prototype.
Spotted by Kevin Brott.
Diffstat (limited to 'openbsd-compat/port-aix.c')
-rw-r--r-- | openbsd-compat/port-aix.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
313 | * record_failed_login: generic "login failed" interface function | 313 | * record_failed_login: generic "login failed" interface function |
314 | */ | 314 | */ |
315 | void | 315 | void |
316 | record_failed_login(const char *user, const char *hostname, const char *ttyname) | 316 | record_failed_login(struct ssh *ssh, const char *user, const char *hostname, |
317 | const char *ttyname) | ||
317 | { | 318 | { |
318 | if (geteuid() != 0) | 319 | if (geteuid() != 0) |
319 | return; | 320 | return; |