summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-05-30 12:21:26 +0200
committerRonny Chevalier <chevalier.ronny@gmail.com>2015-05-30 12:24:16 +0200
commit98d75800461c091e95398936ceb1efc2d5a3f699 (patch)
tree50c5a6ce16e9ca005d060150e500e7af265da76d /src/shared
parent732b7f39a2b3b1a2af90102c6262186ae71197ac (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')
-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 2c855157a9..7370c786f9 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; \
}