X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdf.c;fp=src%2Fdf.c;h=462e1c6778fe3aa2f1066de9e3172b548fada012;hb=ec6204a39b67229bfb05b763d1ceea135150880d;hp=194c25730107f43149d6ea9f273ef24f74a19d45;hpb=d4732c5d271e9624019ad6771fad3b6aa304e380;p=collectd.git diff --git a/src/df.c b/src/df.c index 194c2573..462e1c67 100644 --- a/src/df.c +++ b/src/df.c @@ -136,7 +136,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, "df", sizeof (vl.host)); + sstrncpy (vl.type, "df", sizeof (vl.type)); sstrncpy (vl.type_instance, df_name, sizeof (vl.type_instance)); plugin_dispatch_values (&vl);