X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fswap.c;h=8af18f4bf6c0ddd76008c912675c60391b1f1b9b;hb=789b73ad5ce9a1f3d3b255be593813fbe814f9f1;hp=0642afac78d82792318f40a57696cfe862d13ed2;hpb=b49d4e33978d4c9508b68e931a7a27773f0348e1;p=collectd.git diff --git a/src/swap.c b/src/swap.c index 0642afac..8af18f4b 100644 --- a/src/swap.c +++ b/src/swap.c @@ -205,11 +205,11 @@ static void swap_submit_usage (char const *plugin_instance, /* {{{ */ sstrncpy (vl.type, "swap", sizeof (vl.type)); if (values_absolute) - plugin_dispatch_multivalue (&vl, 0, + plugin_dispatch_multivalue (&vl, 0, DS_TYPE_GAUGE, "used", used, "free", free, other_name, other_value, NULL); if (values_percentage) - plugin_dispatch_multivalue (&vl, 1, + plugin_dispatch_multivalue (&vl, 1, DS_TYPE_GAUGE, "used", used, "free", free, other_name, other_value, NULL); } /* }}} void swap_submit_usage */