projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpu plugin: update documentation.
[collectd.git]
/
src
/
drbd.c
diff --git
a/src/drbd.c
b/src/drbd.c
index
97a4f03
..
5a0eac3
100644
(file)
--- a/
src/drbd.c
+++ b/
src/drbd.c
@@
-77,7
+77,7
@@
static int drbd_submit_fields(long int resource, char **fields,
return EINVAL;
}
- s
s
nprintf(plugin_instance, sizeof(plugin_instance), "r%ld", resource);
+ snprintf(plugin_instance, sizeof(plugin_instance), "r%ld", resource);
for (size_t i = 0; i < drbd_names_num; i++) {
char *data;