From 91cff75908171d0d57aa7976b611e4e2de868b47 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Wed, 7 Jan 2026 18:00:32 +0100 Subject: [PATCH] BUG/MINOR: cfgparse: wrong section name upon error When a unknown keyword was used in the "userlist" section, the error was mentioning the "users" section, instead of "userlist". Could be backported in every branches. --- src/cfgparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cfgparse.c b/src/cfgparse.c index 9918d12f4..e0adcbe02 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -1534,7 +1534,7 @@ cfg_parse_users(const char *file, int linenum, char **args, int kwm) } } } else { - ha_alert("parsing [%s:%d]: unknown keyword '%s' in '%s' section\n", file, linenum, args[0], "users"); + ha_alert("parsing [%s:%d]: unknown keyword '%s' in '%s' section\n", file, linenum, args[0], "userlist"); err_code |= ERR_ALERT | ERR_FATAL; }