projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netcmd plugin: Added a first version of a control socket plugin.
[collectd.git]
/
src
/
tape.c
diff --git
a/src/tape.c
b/src/tape.c
index
32b4296
..
a8e7dc4
100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-58,13
+58,13
@@
static int tape_init (void)
static void tape_submit (const char *plugin_instance,
const char *type,
static void tape_submit (const char *plugin_instance,
const char *type,
-
counter_t read, counter
_t write)
+
derive_t read, derive
_t write)
{
value_t values[2];
value_list_t vl = VALUE_LIST_INIT;
{
value_t values[2];
value_list_t vl = VALUE_LIST_INIT;
- values[0].
counter
= read;
- values[1].
counter
= write;
+ values[0].
derive
= read;
+ values[1].
derive
= write;
vl.values = values;
vl.values_len = 2;
vl.values = values;
vl.values_len = 2;