diff options
Diffstat (limited to 'openbsd-compat/port-aix.c')
-rw-r--r-- | openbsd-compat/port-aix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index cc6190cb8..562923720 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c | |||
@@ -92,10 +92,10 @@ record_failed_login(const char *user, const char *ttyname) | |||
92 | { | 92 | { |
93 | char *hostname = get_canonical_hostname(options.use_dns); | 93 | char *hostname = get_canonical_hostname(options.use_dns); |
94 | 94 | ||
95 | # ifdef AIX_LOGINFAILED_3ARG | 95 | # ifdef AIX_LOGINFAILED_4ARG |
96 | loginfailed((char *)user, hostname, (char *)ttyname); | ||
97 | # else | ||
98 | loginfailed((char *)user, hostname, (char *)ttyname, AUDIT_FAIL_AUTH); | 96 | loginfailed((char *)user, hostname, (char *)ttyname, AUDIT_FAIL_AUTH); |
97 | # else | ||
98 | loginfailed((char *)user, hostname, (char *)ttyname); | ||
99 | # endif | 99 | # endif |
100 | } | 100 | } |
101 | # endif /* CUSTOM_FAILED_LOGIN */ | 101 | # endif /* CUSTOM_FAILED_LOGIN */ |