From: Miroslav Lichvar Date: Tue, 14 Jul 2020 07:15:29 +0000 (+0200) Subject: conf: improve error message X-Git-Tag: 4.0-pre3~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bb076951673db26a48e6c0ccc2fe9b50b8169e0;p=thirdparty%2Fchrony.git conf: improve error message Replace "command" with "directive" for consistency with the documentation. --- diff --git a/conf.c b/conf.c index 9b0c3a6d..912ac825 100644 --- a/conf.c +++ b/conf.c @@ -695,7 +695,7 @@ CNF_ParseLine(const char *filename, int number, char *line) !strcasecmp(command, "linux_hz")) { LOG(LOGS_WARN, "%s directive is no longer supported", command); } else { - other_parse_error("Invalid command"); + other_parse_error("Invalid directive"); } processed_file = processed_command = NULL;