From: Florian Forster Date: Sun, 18 Mar 2012 10:35:13 +0000 (+0100) Subject: nfs plugin: Minor coding style fixes. X-Git-Tag: collectd-5.1.0~4^2~2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=aca4e1bc96b7919301156957f002eefb0027ae7d;p=collectd.git nfs plugin: Minor coding style fixes. --- diff --git a/src/nfs.c b/src/nfs.c index cd1a5239..de642a2c 100644 --- 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++) {