svn commit: r304194 - head/usr.bin/nfsstat
Rick Macklem
rmacklem at FreeBSD.org
Tue Aug 16 00:48:15 UTC 2016
Author: rmacklem
Date: Tue Aug 16 00:48:13 2016
New Revision: 304194
URL: https://svnweb.freebsd.org/changeset/base/304194
Log:
Fix r304026 so that it builds for gcc.
Reported by: np
Tested by: np
MFC after: 1 month
Modified:
head/usr.bin/nfsstat/nfsstat.c
Modified: head/usr.bin/nfsstat/nfsstat.c
==============================================================================
--- head/usr.bin/nfsstat/nfsstat.c Tue Aug 16 00:40:38 2016 (r304193)
+++ head/usr.bin/nfsstat/nfsstat.c Tue Aug 16 00:48:13 2016 (r304194)
@@ -130,7 +130,8 @@ static void compute_new_stats(struct nfs
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}
More information about the svn-src-head
mailing list