From: Florian Forster Date: Fri, 2 Oct 2009 06:27:44 +0000 (+0200) Subject: df plugin: Fix a typo. X-Git-Tag: collectd-4.7.4~2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=bf90793e82989b1c36fe8f3b66b9c9fe05c9532d;p=collectd.git df plugin: Fix a typo. --- diff --git a/src/df.c b/src/df.c index 2c59b01c..ce1ef107 100644 --- a/src/df.c +++ b/src/df.c @@ -127,7 +127,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);