diff --git a/cgroup_sched/framework/process_group/include/sched_policy.h b/cgroup_sched/framework/process_group/include/sched_policy.h index 5da2793b35282b49b756655cb3574ef528b4081c..46ed6c4a78ee2a5fc047af185d51f7b8949c083b 100644 --- a/cgroup_sched/framework/process_group/include/sched_policy.h +++ b/cgroup_sched/framework/process_group/include/sched_policy.h @@ -61,7 +61,7 @@ int SetThreadGroupSchedPolicy(int pid, int policy); * @param policy variable to accept return value. * @return Return value: 0 for success, or -errno for error. */ -int SetThreadSchedPolicy(int pid, int policy); +int SetThreadSchedPolicy(int tid, int policy); /** * Return the policy associated with the cgroup of thread tid via policy pointer.