Fix the build with SCHED_STATS after d3f96f6610
MFC with: d3f96f6610
Sponsored by: Axcient
This commit is contained in:
parent
d3f96f6610
commit
6622e299ac
@ -131,7 +131,7 @@ sysctl_stats_reset(SYSCTL_HANDLER_ARGS)
|
||||
* Traverse the list of children of _kern_sched_stats and reset each
|
||||
* to 0. Skip the reset entry.
|
||||
*/
|
||||
SLIST_FOREACH(p, oidp->oid_parent, oid_link) {
|
||||
RB_FOREACH(p, sysctl_oid_list, oidp->oid_parent) {
|
||||
if (p == oidp || p->oid_arg1 == NULL)
|
||||
continue;
|
||||
counter = (uintptr_t)p->oid_arg1;
|
||||
|
Loading…
Reference in New Issue
Block a user