summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-25 08:58:30 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-25 08:58:30 -0600
commitf877262f7cfd54190da2792b11768bdd0ed3c930 (patch)
tree388f1a14c384c418d8130c28dd188f9a7bc89dc8
parente67abe226d58f9129f101c1869ebb2d452a8a38c (diff)
downloadnuttx-f877262f7cfd54190da2792b11768bdd0ed3c930.tar.gz
nuttx-f877262f7cfd54190da2792b11768bdd0ed3c930.tar.bz2
nuttx-f877262f7cfd54190da2792b11768bdd0ed3c930.zip
Fix NFS compile problem with CONFIG_NFS_STATISTICS=y
-rw-r--r--nuttx/fs/nfs/rpc_clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/nfs/rpc_clnt.c b/nuttx/fs/nfs/rpc_clnt.c
index ea62e1053..7e7c96739 100644
--- a/nuttx/fs/nfs/rpc_clnt.c
+++ b/nuttx/fs/nfs/rpc_clnt.c
@@ -102,7 +102,7 @@
/* Increment RPC statistics */
#ifdef CONFIG_NFS_STATISTICS
-# define rpc_statistics(n) do { rpcstats.(n)++; } while (0)
+# define rpc_statistics(n) do { rpcstats.n++; } while (0)
#else
# define rpc_statistics(n)
#endif