diff --git a/sys/kern/kern_cpuset.c b/sys/kern/kern_cpuset.c index d42fcda80b5..2a2b1f8f7a2 100644 --- a/sys/kern/kern_cpuset.c +++ b/sys/kern/kern_cpuset.c @@ -796,7 +796,7 @@ cpuset_modify_domain(struct cpuset *set, struct domainset *domain) /* * Verify that we have access to this set of domains. */ - if (root && !domainset_valid(dset, domain)) { + if (!domainset_valid(dset, domain)) { error = EINVAL; goto out; }