projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
write_redis: fix build warning
[collectd.git]
/
src
/
gmond.c
diff --git
a/src/gmond.c
b/src/gmond.c
index
c680427
..
75643c4
100644
(file)
--- a/
src/gmond.c
+++ b/
src/gmond.c
@@
-417,7
+417,7
@@
static staging_entry_t *staging_entry_get(const char *host, /* {{{ */
if (staging_tree == NULL)
return NULL;
- s
s
nprintf(key, sizeof(key), "%s/%s/%s", host, type,
+ snprintf(key, sizeof(key), "%s/%s/%s", host, type,
(type_instance != NULL) ? type_instance : "");
se = NULL;