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:
parent
9c4968d152
commit
1e543a5075
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user