diff --git a/include/sched.h b/include/sched.h --- a/include/sched.h +++ b/include/sched.h @@ -41,7 +41,7 @@ __BEGIN_DECLS #if __BSD_VISIBLE int sched_getaffinity(pid_t pid, size_t cpusetsz, cpuset_t *cpuset); -int sched_setaffinity(int pid, size_t cpusetsz, const cpuset_t *cpuset); +int sched_setaffinity(pid_t pid, size_t cpusetsz, const cpuset_t *cpuset); int sched_getcpu(void); #endif /* __BSD_VISIBLE */ __END_DECLS