X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fusers.c;h=1231075a324803bd3fa866396c62563763496e67;hb=011068c93883652d9729a26e0157e94811952609;hp=d0bd63cdb540ef2bc8d5e145e386f2590e604ef7;hpb=7746d34c8ecc4fa984187cf2b1a93d1b6d3a061b;p=collectd.git diff --git a/src/users.c b/src/users.c index d0bd63cd..1231075a 100644 --- a/src/users.c +++ b/src/users.c @@ -51,8 +51,9 @@ static void users_submit (gauge_t value) vl.time = time (NULL); sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "users", sizeof (vl.plugin)); + sstrncpy (vl.type, "users", sizeof (vl.plugin)); - plugin_dispatch_values ("users", &vl); + plugin_dispatch_values (&vl); } /* void users_submit */ static int users_read (void)