Use fatal_fr not fatal_r when passing r.

Caught by the PAM -Werror tinderbox build.
This commit is contained in:
Darren Tucker 2020-10-19 10:54:41 +11:00
parent 816036f142
commit 7715a3b171
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ mm_auth_password(struct ssh *ssh, char *password)
if ((r = sshbuf_get_u32(m, &maxtries)) != 0)
fatal_fr(r, "parse PAM");
if (maxtries > INT_MAX)
fatal_f(r, "bad maxtries");
fatal_fr(r, "bad maxtries");
sshpam_set_maxtries_reached(maxtries);
#endif