Fix up sysctl vfs.buffercache broken in r329612
Sample problem: top: sysctl(vfs.bufspace...) expected 8, got 4 Reported by: O. Hartmann <ohartmann walstatt.org>
This commit is contained in:
parent
66964bbc36
commit
a0c722bdbf
@ -423,7 +423,7 @@ sysctl_bufspace(SYSCTL_HANDLER_ARGS)
|
||||
lvalue = 0;
|
||||
for (i = 0; i < clean_domains; i++)
|
||||
lvalue += bdclean[i].bd_bufspace;
|
||||
return (sysctl_handle_int(oidp, &lvalue, 0, req));
|
||||
return (sysctl_handle_long(oidp, &lvalue, 0, req));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user