projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b1bbe31
)
Merge pull request #3103 from rubenk/write_prometheus-fix-compiler-warning
author
Pavel Rochnyak
<pavel2000@ngs.ru>
Wed, 20 Feb 2019 11:36:23 +0000
(18:36 +0700)
committer
GitHub
<noreply@github.com>
Wed, 20 Feb 2019 11:36:23 +0000
(18:36 +0700)
write_prometheus plugin: fix compiler warning
src/write_prometheus.c
patch
|
blob
|
history
diff --git
a/src/write_prometheus.c
b/src/write_prometheus.c
index
b109d42
..
96e71ca
100644
(file)
--- a/
src/write_prometheus.c
+++ b/
src/write_prometheus.c
@@
-722,7
+722,7
@@
metric_family_get(data_set_t const *ds, value_list_t const *vl, size_t ds_index,
int status = c_avl_insert(metrics, fam->name, fam);
if (status != 0) {
- ERROR("write_prometheus plugin: Adding \"%s\" failed.", name);
+ ERROR("write_prometheus plugin: Adding \"%s\" failed.",
fam->
name);
metric_family_destroy(fam);
return NULL;
}