diff options
| author | Mark Murray <markm@FreeBSD.org> | 2004-03-05 08:10:19 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2004-03-05 08:10:19 +0000 |
| commit | 16fc3635f7aec3852abfc6dd77f89baef91f22fa (patch) | |
| tree | 524ae0ef30bcdfacb05b3c2b01e1c48e80d93e3b /usr.sbin/pstat | |
| parent | 5af2e7de06321c8f6aaa876fa79bf08870e8911c (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pstat')
| -rw-r--r-- | usr.sbin/pstat/pstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 4a8f7a1955d3..d93e76c14061 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -563,7 +563,7 @@ swapmode_sysctl(void) for (n = 0; ; ++n) { mib[mibsize] = n; size = sizeof xsw; - if (sysctl(mib, mibsize + 1, &xsw, &size, NULL, NULL) == -1) + if (sysctl(mib, mibsize + 1, &xsw, &size, NULL, 0) == -1) break; if (xsw.xsw_version != XSWDEV_VERSION) errx(1, "xswdev version mismatch"); |
