aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/nfsstat/nfsstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/nfsstat/nfsstat.c')
-rw-r--r--usr.bin/nfsstat/nfsstat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/nfsstat/nfsstat.c b/usr.bin/nfsstat/nfsstat.c
index d0bda7d6f911e..90be2953ffd8f 100644
--- a/usr.bin/nfsstat/nfsstat.c
+++ b/usr.bin/nfsstat/nfsstat.c
@@ -130,7 +130,8 @@ static void compute_new_stats(struct nfsstatsv1 *cur_stats,
struct stattypes {
int stat_type;
int nfs_type;
-} static statstruct[] = {
+};
+static struct stattypes statstruct[] = {
{STAT_TYPE_READ, NFSV4OP_READ},
{STAT_TYPE_WRITE, NFSV4OP_WRITE},
{STAT_TYPE_COMMIT, NFSV4OP_COMMIT}