From: Christian Bartolomäus Date: Tue, 19 Sep 2017 07:09:39 +0000 (+0200) Subject: nfs plugin: Fix typo X-Git-Tag: collectd-5.8.0~95 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ebf73b656a05c937ac8ab9f36753ac637c36df25;p=collectd.git nfs plugin: Fix typo --- diff --git a/src/nfs.c b/src/nfs.c index 369b764a..a7adc920 100644 --- a/src/nfs.c +++ b/src/nfs.c @@ -592,7 +592,7 @@ static int nfs_read(void) { nfs_read_kstat(nfs3_ksp_server, /* version = */ 3, "server", nfs3_procedures_names, nfs3_procedures_names_num); } - if (report_v2) { + if (report_v4) { nfs_read_kstat(nfs4_ksp_client, /* version = */ 4, "client", nfs4_procedures_names, nfs4_procedures_names_num); nfs_read_kstat(nfs4_ksp_server, /* version = */ 4, "server",