Fix nfsstats, somehow masked in previous builds by -g

This commit is contained in:
Doug MacEachern 2008-02-23 09:03:52 +00:00
parent e08e3a8bcc
commit ede22e8b5c
1 changed files with 1 additions and 1 deletions

View File

@ -2712,7 +2712,7 @@ static int get_nfsstats(struct nfsstats *stats)
size_t len = sizeof(*stats);
int mib[] = { CTL_VFS, 2, NFS_NFSSTATS };
if (sysctl(mib, NMIB(mib), &stats, &len, NULL, 0) < 0) {
if (sysctl(mib, NMIB(mib), stats, &len, NULL, 0) < 0) {
return errno;
}
else {