diff --git a/src/tool_parsecfg.c b/src/tool_parsecfg.c index dcc164c7a9..da48700663 100644 --- a/src/tool_parsecfg.c +++ b/src/tool_parsecfg.c @@ -210,9 +210,9 @@ int parseconfig(const char *filename, struct GlobalConfig *global) break; default: warnf(operation->global, "%s:%d: warning: '%s' uses unquoted " - "whitespace that may cause side-effects. Consider quoting " - "the value with double quotes?", - filename, lineno, option); + "whitespace", filename, lineno, option); + warnf(operation->global, "This may cause side-effects. " + "Consider using double quotes?"); } } if(!*param) diff --git a/tests/data/test459 b/tests/data/test459 index 9fe135f794..e46d029732 100644 --- a/tests/data/test459 +++ b/tests/data/test459 @@ -56,8 +56,8 @@ Content-Type: application/x-www-form-urlencoded arg -Warning: log/config:1: warning: 'data' uses unquoted whitespace that may cause -Warning: side-effects. Consider quoting the value with double quotes? +Warning: %LOGDIR/config:1: warning: 'data' uses unquoted whitespace +Warning: This may cause side-effects. Consider using double quotes?