X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fentropy.c;h=2e20a67c08661dbdebd4e66e276184e17d97983b;hb=98fef31471541485002b5b87afa8991a280190d6;hp=69ce3142bc7f4e412ded5f0483be4c793f3cb7d6;hpb=b42974a9e2d83e70c166cd572725a8d72bd2a1c4;p=collectd.git diff --git a/src/entropy.c b/src/entropy.c index 69ce3142..2e20a67c 100644 --- a/src/entropy.c +++ b/src/entropy.c @@ -41,10 +41,9 @@ static void entropy_submit (double entropy) vl.time = time (NULL); sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "entropy", sizeof (vl.plugin)); - sstrncpy (vl.plugin_instance, "", sizeof (vl.plugin_instance)); - sstrncpy (vl.type_instance, "", sizeof (vl.type_instance)); + sstrncpy (vl.type, "entropy", sizeof (vl.type)); - plugin_dispatch_values ("entropy", &vl); + plugin_dispatch_values (&vl); } static int entropy_read (void)