Fix nfsstats, somehow masked in previous builds by -g
This commit is contained in:
parent
e08e3a8bcc
commit
ede22e8b5c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user