From: Florian Forster Date: Fri, 2 Sep 2016 08:48:08 +0000 (+0200) Subject: src/common.c: parse_value: Quote string that failed to parse. X-Git-Tag: collectd-5.6.1~1^2~3^2~2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=55826ee891fd643111c3ffd7a19795721e41f1c0;p=collectd.git src/common.c: parse_value: Quote string that failed to parse. Issue: #1905 --- diff --git a/src/common.c b/src/common.c index 4da8feee..b00c8bd5 100644 --- a/src/common.c +++ b/src/common.c @@ -1083,7 +1083,7 @@ int parse_value (const char *value_orig, value_t *ret_value, int ds_type) } if (value == endptr) { - ERROR ("parse_value: Failed to parse string as %s: %s.", + ERROR ("parse_value: Failed to parse string as %s: \"%s\".", DS_TYPE_TO_STRING (ds_type), value); sfree (value); return -1;