From c6ebd4fdad092d90838a9db1d838dcaca4f734aa Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Mon, 28 Mar 2016 15:15:16 -0500 Subject: [PATCH] authd: fix fencepost error --- authd/authd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authd/authd.c b/authd/authd.c index 8aabf267a..3846e209e 100644 --- a/authd/authd.c +++ b/authd/authd.c @@ -78,9 +78,9 @@ handle_options(int parc, char *parv[]) { struct auth_opts_handler *handler; - if(parc < 4) + if(parc < 3) { - warn_opers(L_CRIT, "BUG: handle_options received too few parameters (at least 4 expected, got %d)", parc); + warn_opers(L_CRIT, "BUG: handle_options received too few parameters (at least 3 expected, got %d)", parc); return; }