diff options
author | jhb <jhb@FreeBSD.org> | 2009-03-10 15:25:19 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-03-10 15:25:19 +0000 |
commit | 1d8bab3200518a31c4605c4abf86e530e7870235 (patch) | |
tree | bd00f35452bff6421e2ff3163a8ba2c683938d69 | |
parent | 887100e88a3542c769805a4bb2d6e869ecc59f42 (diff) | |
download | FreeBSD-src-1d8bab3200518a31c4605c4abf86e530e7870235.zip FreeBSD-src-1d8bab3200518a31c4605c4abf86e530e7870235.tar.gz |
Update top and systat for vfs.bufcache now being a long rather than an int.
-rw-r--r-- | usr.bin/systat/vmstat.c | 2 | ||||
-rw-r--r-- | 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 f29f21b..3866438 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 746ab5f..bd0f7d8 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); |