diff --git a/src/tape.c b/src/tape.c
index caca537b0038be024f2771d979f3eeeb289ce53d..a8e7dc45faab08bdf18ffd42fbebd242f3f3477f 100644 (file)
--- a/src/tape.c
+++ b/src/tape.c
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;
- values[0].counter = read;
- values[1].counter = write;
+ values[0].derive = read;
+ values[1].derive = write;
vl.values = values;
vl.values_len = 2;
- vl.time = time (NULL);
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "tape", sizeof (vl.plugin));
sstrncpy (vl.plugin_instance, plugin_instance,