From: Ronny Chevalier Date: Sat, 30 May 2015 10:21:26 +0000 (+0200) Subject: conf-parser: parsing error logs should show a type not a vartype X-Git-Tag: v221~237 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=98d75800461c091e95398936ceb1efc2d5a3f699;p=thirdparty%2Fsystemd.git conf-parser: parsing error logs should show a type not a vartype Instead of this: [filename:1] Failed to parse nsec_t value, ignoring: garbage we show this: [filename:1] Failed to parse nsec value, ignoring: garbage --- diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 2c855157a9a..7370c786f9a 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -444,7 +444,7 @@ int config_parse_many(const char *conf_file, if (r < 0) \ log_syntax(unit, LOG_ERR, filename, line, -r, \ "Failed to parse %s value, ignoring: %s", \ - #vartype, rvalue); \ + #type, rvalue); \ \ return 0; \ }