summaryrefslogtreecommitdiff
path: root/src/shared/conf-parser.c
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-05-30 12:21:26 +0200
committerSven Eden <yamakuzure@gmx.net>2017-03-14 10:01:16 +0100
commit5359a35808adfc37bd7fba849daee45da6a60a71 (patch)
tree0884ec99f91af3da0d4d1aafe779956104aec7b2 /src/shared/conf-parser.c
parent52306a952075183d4bdb20d9dc446cf26ef3deac (diff)
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
Diffstat (limited to 'src/shared/conf-parser.c')
-rw-r--r--src/shared/conf-parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c
index 2c855157a..7370c786f 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; \
}