mirror of
https://github.com/systemd/systemd.git
synced 2026-08-09 01:20:53 +00:00
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
This commit is contained in:
@@ -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; \
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user