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

Reply via email to