Re: cvs commit: src/usr.bin/netstat Makefile bpf.c inet.c pfkey.c route.c sctp.c

2008-09-10 Thread Mike Tancsa
At 11:31 AM 9/10/2008, David O'Brien wrote: On Tue, Sep 09, 2008 at 10:31:46PM -0400, Mike Tancsa wrote: > > Hi, > The change below seems to make netstat -B on RELENG_7 coredump > netstat -B > > specifically, > > - printf("%5d %6s %7s %9lu %9lu %9lu %5d %5d %s\n", > +

Re: cvs commit: src/usr.bin/netstat Makefile bpf.c inet.c pfkey.c route.c sctp.c

2008-09-10 Thread David O'Brien
On Tue, Sep 09, 2008 at 10:31:46PM -0400, Mike Tancsa wrote: > > Hi, > The change below seems to make netstat -B on RELENG_7 coredump > netstat -B > > specifically, > > - printf("%5d %6s %7s %9lu %9lu %9lu %5d %5d %s\n", > + printf("%5d %6s %7s %9ju %9ju %9ju

Re: cvs commit: src/usr.bin/netstat Makefile bpf.c inet.c pfkey.c route.c sctp.c

2008-09-10 Thread Mike Tancsa
At 11:56 PM 9/9/2008, Jeremy Chadwick wrote: The reason it might work in HEAD (did you test HEAD i386 or HEAD amd64?) Yes, amd64 on HEAD actually. ---Mike is that HEAD might have the variables in bpfdesc.h declared as something like unsigned intmax_t, which might be a better soluti

Re: cvs commit: src/usr.bin/netstat Makefile bpf.c inet.c pfkey.c route.c sctp.c

2008-09-09 Thread Jeremy Chadwick
On Tue, Sep 09, 2008 at 10:31:46PM -0400, Mike Tancsa wrote: > > Hi, > The change below seems to make netstat -B on RELENG_7 coredump > netstat -B > > specifically, > > - printf("%5d %6s %7s %9lu %9lu %9lu %5d %5d %s\n", > + printf("%5d %6s %7s %9ju %9ju %9ju %5d

Re: cvs commit: src/usr.bin/netstat Makefile bpf.c inet.c pfkey.c route.c sctp.c

2008-09-09 Thread Mike Tancsa
Hi, The change below seems to make netstat -B on RELENG_7 coredump netstat -B specifically, - printf("%5d %6s %7s %9lu %9lu %9lu %5d %5d %s\n", + printf("%5d %6s %7s %9ju %9ju %9ju %5d %5d %s\n", Not sure if its a netstat issue or a libc issue as it works f