conf: improve error message

Replace "command" with "directive" for consistency with the
documentation.
This commit is contained in:
Miroslav Lichvar 2020-07-14 09:15:29 +02:00
parent 58da0c0ad2
commit 2bb0769516

2
conf.c
View file

@ -695,7 +695,7 @@ CNF_ParseLine(const char *filename, int number, char *line)
!strcasecmp(command, "linux_hz")) { !strcasecmp(command, "linux_hz")) {
LOG(LOGS_WARN, "%s directive is no longer supported", command); LOG(LOGS_WARN, "%s directive is no longer supported", command);
} else { } else {
other_parse_error("Invalid command"); other_parse_error("Invalid directive");
} }
processed_file = processed_command = NULL; processed_file = processed_command = NULL;