svn commit: r189626 - in head/usr.bin: systat top
John Baldwin
jhb at FreeBSD.org
Tue Mar 10 08:25:21 PDT 2009
Author: jhb
Date: Tue Mar 10 15:25:19 2009
New Revision: 189626
URL: http://svn.freebsd.org/changeset/base/189626
Log:
Update top and systat for vfs.bufcache now being a long rather than an int.
Modified:
head/usr.bin/systat/vmstat.c
head/usr.bin/top/machine.c
Modified: head/usr.bin/systat/vmstat.c
==============================================================================
--- head/usr.bin/systat/vmstat.c Tue Mar 10 15:23:43 2009 (r189625)
+++ head/usr.bin/systat/vmstat.c Tue Mar 10 15:25:19 2009 (r189626)
@@ -115,7 +115,7 @@ static struct Info {
struct nchstats nchstats;
long nchcount;
long *intrcnt;
- int bufspace;
+ long bufspace;
int desiredvnodes;
long numvnodes;
long freevnodes;
Modified: head/usr.bin/top/machine.c
==============================================================================
--- head/usr.bin/top/machine.c Tue Mar 10 15:23:43 2009 (r189625)
+++ head/usr.bin/top/machine.c Tue Mar 10 15:25:19 2009 (r189626)
@@ -433,7 +433,7 @@ get_system_info(struct system_info *si)
static unsigned int swap_delay = 0;
static int swapavail = 0;
static int swapfree = 0;
- static int bufspace = 0;
+ static long bufspace = 0;
static int nspgsin, nspgsout;
GETSYSCTL("vfs.bufspace", bufspace);
More information about the svn-src-head
mailing list