From 7715a3b171049afa1feffb1d5a1245dfac36ce99 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 19 Oct 2020 10:54:41 +1100 Subject: Use fatal_fr not fatal_r when passing r. Caught by the PAM -Werror tinderbox build. --- monitor_wrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'monitor_wrap.c') diff --git a/monitor_wrap.c b/monitor_wrap.c index 8cfd4b41..5f40cc82 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c @@ -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 -- cgit v1.2.1