mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +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:
parent
732b7f39a2
commit
98d7580046
|
@ -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; \
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue