X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Ftape.c;h=a8e7dc45faab08bdf18ffd42fbebd242f3f3477f;hp=32b42965c55d5e31ca6a5e53f54554cd0842aa54;hb=aff80830f1154a5b6c4da16a0b1033aafde14e24;hpb=4fd631aa4fc9aa2e5339a1531dc74915676844a4 diff --git a/src/tape.c b/src/tape.c index 32b42965..a8e7dc45 100644 --- 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, - 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;