freebsd-dev/usr.bin/systat
Bruce Evans 4bb97cfa93 Fix some minor bugs:
Always use snprintf()'s return value, since discarding it is a style
bug at best and using it here gives slightly simpler code and better
error checking.  Use snprintf() in putlongdouble() the same as in
putfloat().  (1.25 changed most sprintf()'s to snprintf()'s to fix
non-bugs without changing the logic to use the result of snprintf();
1.27 restored one of the sprintf()s by cloning a stale version of
putfloat().)

Don't print a too-long field in the unlikely case that the fallback
to M units in putint() leaves the field still too long.  (The fallback
to printing stars was lost in rev.1.58 when the fallback to M units
was added.)
2006-02-14 11:57:02 +00:00
..
cmds.c
cmdtab.c Add ip6 and icmp6 displays to systat. 2003-08-01 20:28:20 +00:00
convtbl.c Consistently use __inline instead of __inline__ as the former is an empty macro 2004-07-04 16:11:03 +00:00
convtbl.h Fix the easy warnings: 2004-03-09 11:57:28 +00:00
devs.c When a numeric field overflows its width, try formatting the number in 2003-10-20 20:13:50 +00:00
devs.h
extern.h Fix the easy warnings: 2004-03-09 11:57:28 +00:00
fetch.c
icmp6.c Add ip6 and icmp6 displays to systat. 2003-08-01 20:28:20 +00:00
icmp.c
ifcmds.c Fix the easy warnings: 2004-03-09 11:57:28 +00:00
ifstat.c Fix the easy warnings: 2004-03-09 11:57:28 +00:00
iostat.c Copy cur's snap_time to last when refreshing statistics. Fixes problem 2003-11-01 02:06:02 +00:00
ip6.c Add ip6 and icmp6 displays to systat. 2003-08-01 20:28:20 +00:00
ip.c
keyboard.c
main.c Fix the easy warnings: 2004-03-09 11:57:28 +00:00
Makefile Put libdevstat before libkvm, because the former depends on the latter. 2004-02-04 10:20:43 +00:00
mbufs.c Remove unused variables. 2005-04-09 14:31:41 +00:00
mode.c
mode.h
netcmds.c
netstat.c simply ignore unknown address family. 2005-02-19 16:54:26 +00:00
pigs.c Include systat.h for cmdtab, to make gcc4 happy. 2005-05-02 10:50:10 +00:00
swap.c
systat.1 Fix all the spelling mistakes I could find in the man pages for words 2005-07-31 03:30:48 +00:00
systat.h
tcp.c Demangled vendor ids. Fixed misplaced FreeBSD id. 2004-02-25 13:26:53 +00:00
vmstat.c Fix some minor bugs: 2006-02-14 11:57:02 +00:00