Adapt custom_failed_login to new prototype.

Spotted by Kevin Brott.
This commit is contained in:
Darren Tucker 2019-04-02 18:21:35 +11:00
parent a0ca4009ab
commit 138c0d52cd
1 changed files with 2 additions and 1 deletions

View File

@ -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;