From: Marek Becka Date: Mon, 16 Jun 2014 09:01:00 +0000 (+0200) Subject: Fix for number of nfs40 client fields on linux >=3.5 X-Git-Tag: collectd-5.5.0~135^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=01701c370a45f979a7562897a375a5822d10cf75;p=collectd.git Fix for number of nfs40 client fields on linux >=3.5 --- diff --git a/src/nfs.c b/src/nfs.c index 326fa708..4285d765 100644 --- a/src/nfs.c +++ b/src/nfs.c @@ -505,14 +505,15 @@ static int nfs_submit_nfs4_client (const char *instance, char **fields, break; case 42: case 44: + proc40_names_num = 36; case 46: case 47: case 51: case 53: - proc40_names_num = 36; + proc40_names_num = 37; break; case 54: - proc40_names_num = 37; + proc40_names_num = 38; break; default: if (!suppress_warning)