projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fbb3081
)
utils_cache.c: fix FORMAT_VL failed ERROR messages
author
Birger Schmidt
<bs-github@netgaroo.com>
Mon, 16 May 2016 06:39:38 +0000
(08:39 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 20 May 2016 10:48:21 +0000
(12:48 +0200)
src/utils_cache.c
patch
|
blob
|
history
diff --git
a/src/utils_cache.c
b/src/utils_cache.c
index
8e91588
..
15113e0
100644
(file)
--- 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)
{
if (FORMAT_VL (name, sizeof (name), vl) != 0)
{
- ERROR ("uc_
g
et_state: FORMAT_VL failed.");
+ ERROR ("uc_
s
et_state: FORMAT_VL failed.");
return (STATE_ERROR);
}
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)
{
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);
}
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)
{
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);
}
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)
{
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);
}
return (STATE_ERROR);
}