Searched hist:155668 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.0-release/usr.bin/systat/ | ||
H A D | vmstat.c | diff 155668 Tue Feb 14 09:57:02 MST 2006 bde 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.) |
Completed in 75 milliseconds