From a0b9e7e3320cd28bb1cc7aaf4ae2ad167b3526f0 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 10 Mar 2009 15:25:19 +0000 Subject: [PATCH] Update top and systat for vfs.bufcache now being a long rather than an int. --- usr.bin/systat/vmstat.c | 2 +- usr.bin/top/machine.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c index f29f21be9dbd..38664381ca5e 100644 --- a/usr.bin/systat/vmstat.c +++ b/usr.bin/systat/vmstat.c @@ -115,7 +115,7 @@ static struct Info { struct nchstats nchstats; long nchcount; long *intrcnt; - int bufspace; + long bufspace; int desiredvnodes; long numvnodes; long freevnodes; diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c index 746ab5f46d8e..bd0f7d81d0be 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -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);