nfs plugin: Fix typo
authorChristian Bartolomäus <use_v6@aglaz.de>
Tue, 19 Sep 2017 07:09:39 +0000 (09:09 +0200)
committerGitHub <noreply@github.com>
Tue, 19 Sep 2017 07:09:39 +0000 (09:09 +0200)
src/nfs.c

index 369b764..a7adc92 100644 (file)
--- 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",