cvs commit: src/usr.bin/systat swap.c
Yar Tikhiy
yar at FreeBSD.org
Sat Dec 23 10:54:51 PST 2006
yar 2006-12-23 18:54:50 UTC
FreeBSD src repository
Modified files:
usr.bin/systat swap.c
Log:
Dynamically resize the Disk column. It was too narrow for modern
disk device names such as da0s1b. So we also get rid of the nasty
constant 5 scattered over the code.
Implementing this change is a good chance to improve other bits
around it: init saved lengths early, always check return value from
kvm_getswapinfo().
Revision Changes Path
1.34 +46 -21 src/usr.bin/systat/swap.c
More information about the cvs-src
mailing list