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