Date: Sat, 23 Dec 2006 18:54:50 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/systat swap.c Message-ID: <200612231854.kBNIsoCc047511@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612231854.kBNIsoCc047511>