summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2020-10-19 01:54:41 +0200
committerDarren Tucker <dtucker@dtucker.net>2020-10-19 01:54:41 +0200
commit7715a3b171049afa1feffb1d5a1245dfac36ce99 (patch)
tree8edff2710e355db35fa156b52d839b91b724af7d
parentupstream: use the new variant log macros instead of prepending (diff)
downloadopenssh-7715a3b171049afa1feffb1d5a1245dfac36ce99.tar.xz
openssh-7715a3b171049afa1feffb1d5a1245dfac36ce99.zip
Use fatal_fr not fatal_r when passing r.
Caught by the PAM -Werror tinderbox build.
-rw-r--r--monitor_wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c
index 8cfd4b413..5f40cc82e 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