build fails post SVN r304026

From: Michael Butler <imb_at_protected-networks.net>
Date: Sat, 13 Aug 2016 09:54:02 -0400
Is anyone else seeing this?

===> usr.bin/nfsstat (all)
Building /usr/obj/usr/src/usr.bin/nfsstat/nfsstat.o
/usr/src/usr.bin/nfsstat/nfsstat.c:301:4: error: array index 72 is past
the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
                        ext_nfsstats.srvrpccnt[NFSV4OP_SYMLINK],
                        ^                      ~~~~~~~~~~~~~~~
/usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array
'srvrpccnt' declared here
        int     srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS];
        ^
/usr/src/usr.bin/nfsstat/nfsstat.c:302:4: error: array index 73 is past
the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
                        ext_nfsstats.srvrpccnt[NFSV4OP_MKDIR],
                        ^                      ~~~~~~~~~~~~~
/usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array
'srvrpccnt' declared here
        int     srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS];
        ^
/usr/src/usr.bin/nfsstat/nfsstat.c:303:4: error: array index 74 is past
the end of the array (which contains 49 elements) [-Werror,-Warray-bounds]
                        ext_nfsstats.srvrpccnt[NFSV4OP_RMDIR],
                        ^                      ~~~~~~~~~~~~~
/usr/obj/usr/src/tmp/usr/include/fs/nfs/nfsport.h:457:2: note: array
'srvrpccnt' declared here
        int     srvrpccnt[NFSV4OP_NOPS + NFSV4OP_FAKENOPS];

 [ .. ]

	imb
Received on Sat Aug 13 2016 - 11:54:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:07 UTC