cvs commit: src/usr.bin/systat ifstat.c
Xin LI
delphij at FreeBSD.org
Fri Jan 11 16:11:26 PST 2008
delphij 2008-01-12 00:11:26 UTC
FreeBSD src repository
Modified files:
usr.bin/systat ifstat.c
Log:
- Handle the case where interface from "middle" is missing by
more carefully inspecting the return value from sysctl(3). [1]
- Use calloc instead of malloc+memset of zero.
Submitted by: Alexander Chernikov <admin su29 net> [1]
PR: bin/119581
MFC after: 2 weeks
Revision Changes Path
1.7 +4 -4 src/usr.bin/systat/ifstat.c
More information about the cvs-src
mailing list