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}
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to