Date: Fri, 28 Jul 2006 16:09:19 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/netstat Makefile atalk.c bpf.c if.c inet.c inet6.c ipsec.c ipx.c main.c mbuf.c mcast.c mroute.c mroute6.c netgraph.c netstat.h pfkey.c route.c unix.c Message-ID: <200607281609.k6SG9JnJ051815@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2006-07-28 16:09:19 UTC FreeBSD src repository Modified files: usr.bin/netstat Makefile atalk.c bpf.c if.c inet.c inet6.c ipsec.c ipx.c main.c mbuf.c mcast.c mroute.c mroute6.c netgraph.c netstat.h pfkey.c route.c unix.c Log: Achieve WARNS=2 by using uintmax_t to pass around 64-bit quantities, including to printf(). Using uintmax_t is also robust to further extensions in both the C language and the bitwidth of kernel counters. Tested on: i386 amd64 ia64 Revision Changes Path 1.34 +0 -1 src/usr.bin/netstat/Makefile 1.25 +1 -0 src/usr.bin/netstat/atalk.c 1.6 +1 -0 src/usr.bin/netstat/bpf.c 1.65 +19 -18 src/usr.bin/netstat/if.c 1.71 +29 -28 src/usr.bin/netstat/inet.c 1.27 +161 -160 src/usr.bin/netstat/inet6.c 1.14 +27 -26 src/usr.bin/netstat/ipsec.c 1.24 +1 -0 src/usr.bin/netstat/ipx.c 1.82 +4 -4 src/usr.bin/netstat/main.c 1.52 +24 -23 src/usr.bin/netstat/mbuf.c 1.3 +1 -0 src/usr.bin/netstat/mcast.c 1.24 +5 -4 src/usr.bin/netstat/mroute.c 1.16 +19 -18 src/usr.bin/netstat/mroute6.c 1.11 +1 -0 src/usr.bin/netstat/netgraph.c 1.48 +3 -3 src/usr.bin/netstat/netstat.h 1.2 +23 -22 src/usr.bin/netstat/pfkey.c 1.78 +1 -0 src/usr.bin/netstat/route.c 1.19 +1 -0 src/usr.bin/netstat/unix.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607281609.k6SG9JnJ051815>