mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue