Date: Sat, 15 Aug 2009 14:39:33 +0000 (UTC) From: Stanislav Sedov <stas@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/pstat pstat.c Message-ID: <200908151439.n7FEdrBu077031@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
stas 2009-08-15 14:39:33 UTC
FreeBSD src repository
Modified files:
usr.sbin/pstat pstat.c
Log:
SVN rev 196244 on 2009-08-15 14:39:33Z by stas
- Avoid overflowing the swap size counters in human-readable mode
by introducing the new CONVERT_BLOCKS macro which operates on
sizes already converted to number of blocks. With this macro
it is not longer needed to perform needless multiplication by
blocksize just to divide on it later in CONVERT macro.
Approved by: re (kib)
MFC after: 1 week
Revision Changes Path
1.113 +3 -2 src/usr.sbin/pstat/pstat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908151439.n7FEdrBu077031>
