Correct the old length argument passed to sysctl to be a pointer to a

size_t (not to an int).

MFC after:	2 days
This commit is contained in:
Thomas Moestl 2001-07-29 21:56:14 +00:00
parent 9c4968d152
commit 1e543a5075

View File

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