X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fswap.c;h=8af18f4bf6c0ddd76008c912675c60391b1f1b9b;hb=a7eecf6018a684dcf8323d4a41a7e704a5d57f02;hp=0642afac78d82792318f40a57696cfe862d13ed2;hpb=f2389f97fbec15f49dcd1d9b06b3b6bbd0837e8a;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 */