Date: Sat, 13 Aug 2016 09:54:02 -0400 From: Michael Butler <imb@protected-networks.net> To: freebsd-current <freebsd-current@freebsd.org> Cc: rmacklem@freebsd.org Subject: build fails post SVN r304026 Message-ID: <2699323b-54dc-b994-354a-00531f5f63b4@protected-networks.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2699323b-54dc-b994-354a-00531f5f63b4>
