projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
6f2b3ab
)
Merge pull request #3102 from rubenk/oauth-fix-compiler-warning
author
Pavel Rochnyak
<pavel2000@ngs.ru>
Wed, 20 Feb 2019 11:37:40 +0000
(18:37 +0700)
committer
GitHub
<noreply@github.com>
Wed, 20 Feb 2019 11:37:40 +0000
(18:37 +0700)
oauth.c: 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;
}