From: Birger Schmidt Date: Mon, 16 May 2016 06:39:38 +0000 (+0200) Subject: utils_cache.c: fix FORMAT_VL failed ERROR messages X-Git-Tag: collectd-5.5.2~6^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fcccdd28cd71d982421c72f306d106928d6c5fbd;p=collectd.git utils_cache.c: fix FORMAT_VL failed ERROR messages --- diff --git a/src/utils_cache.c b/src/utils_cache.c index 8e915883..15113e02 100644 --- a/src/utils_cache.c +++ b/src/utils_cache.c @@ -692,7 +692,7 @@ int uc_set_state (const data_set_t *ds, const value_list_t *vl, int state) if (FORMAT_VL (name, sizeof (name), vl) != 0) { - ERROR ("uc_get_state: FORMAT_VL failed."); + ERROR ("uc_set_state: FORMAT_VL failed."); return (STATE_ERROR); } @@ -800,7 +800,7 @@ int uc_get_hits (const data_set_t *ds, const value_list_t *vl) if (FORMAT_VL (name, sizeof (name), vl) != 0) { - ERROR ("uc_get_state: FORMAT_VL failed."); + ERROR ("uc_get_hits: FORMAT_VL failed."); return (STATE_ERROR); } @@ -825,7 +825,7 @@ int uc_set_hits (const data_set_t *ds, const value_list_t *vl, int hits) if (FORMAT_VL (name, sizeof (name), vl) != 0) { - ERROR ("uc_get_state: FORMAT_VL failed."); + ERROR ("uc_set_hits: FORMAT_VL failed."); return (STATE_ERROR); } @@ -851,7 +851,7 @@ int uc_inc_hits (const data_set_t *ds, const value_list_t *vl, int step) if (FORMAT_VL (name, sizeof (name), vl) != 0) { - ERROR ("uc_get_state: FORMAT_VL failed."); + ERROR ("uc_inc_hits: FORMAT_VL failed."); return (STATE_ERROR); }