Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2009 15:25:19 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189626 - in head/usr.bin: systat top
Message-ID:  <200903101525.n2AFPJsY065939@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903101525.n2AFPJsY065939>