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);