summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/systat/vmstat.c2
-rw-r--r--usr.bin/top/machine.c2
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);
OpenPOWER on IntegriCloud