diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 4556b25c225b..55b62c3a52eb 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -405,7 +405,8 @@ dovmstat(interval, reps) time_t uptime, halfuptime; struct devinfo *tmp_dinfo; void needhdr(); - int mib[2], size; + int mib[2]; + size_t size; uptime = getuptime(); halfuptime = uptime / 2;