]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
conf: improve error message
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 14 Jul 2020 07:15:29 +0000 (09:15 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 16 Jul 2020 10:07:43 +0000 (12:07 +0200)
Replace "command" with "directive" for consistency with the
documentation.

conf.c

diff --git a/conf.c b/conf.c
index 9b0c3a6d550834df6d42b5d73f2cacaf1a82a5ab..912ac82540d4407a39b5482914eb44bcd49444ef 100644 (file)
--- 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;