Code

nfs plugin: Minor coding style fixes.
authorFlorian Forster <octo@collectd.org>
Sun, 18 Mar 2012 10:35:13 +0000 (11:35 +0100)
committerFlorian Forster <octo@collectd.org>
Sun, 18 Mar 2012 10:35:13 +0000 (11:35 +0100)
src/nfs.c

index cd1a5239cf44081a3a9e6342a0afcdb586108ca3..de642a2c43f44ebf40647b937b26404098ebf263 100644 (file)
--- a/src/nfs.c
+++ b/src/nfs.c
@@ -234,11 +234,11 @@ static void nfs_procedures_submit (const char *plugin_instance,
        size_t i;
 
        vl.values_len = 1;
-       sstrncpy(vl.host, hostname_g, sizeof (vl.host));
-       sstrncpy(vl.plugin, "nfs", sizeof (vl.plugin));
-       sstrncpy(vl.plugin_instance, plugin_instance,
+       sstrncpy (vl.host, hostname_g, sizeof (vl.host));
+       sstrncpy (vl.plugin, "nfs", sizeof (vl.plugin));
+       sstrncpy (vl.plugin_instance, plugin_instance,
                        sizeof (vl.plugin_instance));
-       sstrncpy(vl.type, "nfs_procedure", sizeof (vl.type));
+       sstrncpy (vl.type, "nfs_procedure", sizeof (vl.type));
 
        for (i = 0; i < values_num; i++)
        {