]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared/conf-parser: say "key name" not "lvalue", add dot 13107/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 18 Jul 2019 09:33:48 +0000 (11:33 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 18 Jul 2019 09:39:40 +0000 (11:39 +0200)
"lvalue" is our internal jargon. Let's try not to confuse non-programmers.

src/shared/conf-parser.c

index b4ebc0f44bca1716a785e3a5287cabb833525621..a495c2538ba9c3543bbd2b707bfdc478e91de0fd 100644 (file)
@@ -138,7 +138,8 @@ static int next_assignment(
 
         /* Warn about unknown non-extension fields. */
         if (!(flags & CONFIG_PARSE_RELAXED) && !startswith(lvalue, "X-"))
-                log_syntax(unit, LOG_WARNING, filename, line, 0, "Unknown lvalue '%s' in section '%s', ignoring", lvalue, section);
+                log_syntax(unit, LOG_WARNING, filename, line, 0,
+                           "Unknown key name '%s' in section '%s', ignoring.", lvalue, section);
 
         return 0;
 }