X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdf.c;h=0cc782add35f6e8e0d6b5632aaa54b7d2e7ce0b9;hp=54f70ef996a3bc93298eebbd1de5d7a91b593349;hb=a497509bc0a06065759a6d4e43497b75a2c9ecb8;hpb=4f0c7b9794d0ea888123502418545c8f1ff3fc9f diff --git a/src/df.c b/src/df.c index 54f70ef9..0cc782ad 100644 --- a/src/df.c +++ b/src/df.c @@ -137,7 +137,7 @@ static void df_submit (char *df_name, sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "df", sizeof (vl.plugin)); sstrncpy (vl.plugin_instance, "", sizeof (vl.plugin_instance)); - sstrncpy (vl.type, type, sizeof (vl.host)); + sstrncpy (vl.type, type, sizeof (vl.type)); sstrncpy (vl.type_instance, df_name, sizeof (vl.type_instance)); plugin_dispatch_values (&vl);