projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
write_sensu: use sstrncpy
[collectd.git]
/
src
/
write_riemann.c
diff --git
a/src/write_riemann.c
b/src/write_riemann.c
index
86f0c1f
..
55699d5
100644
(file)
--- a/
src/write_riemann.c
+++ b/
src/write_riemann.c
@@
-362,7
+362,7
@@
wrr_value_to_event(struct riemann_host const *host, /* {{{ */
{
char ds_index[DATA_MAX_NAME_LEN];
{
char ds_index[DATA_MAX_NAME_LEN];
- snprintf(ds_index, sizeof(ds_index), "%
zu"
, index);
+ snprintf(ds_index, sizeof(ds_index), "%
" PRIsz
, index);
riemann_event_string_attribute_add(event, "ds_index", ds_index);
}
riemann_event_string_attribute_add(event, "ds_index", ds_index);
}