From bf90793e82989b1c36fe8f3b66b9c9fe05c9532d Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 2 Oct 2009 08:27:44 +0200 Subject: [PATCH] df plugin: Fix a typo. --- src/df.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0