freebsd-skq/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
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
devs.c
devs.h
extern.h
fetch.c
icmp6.c
icmp.c
ifcmds.c
ifstat.c
iostat.c
ip6.c
ip.c
keyboard.c
main.c
Makefile
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
vmstat.c Fix some minor bugs: 2006-02-14 11:57:02 +00:00