aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2021-12-17 06:22:21 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-12-17 06:22:21 +0000
commit65dd321054cbbbcca192375b08843e860fc3b3c5 (patch)
treedcbfd2b2767a6eec5da377e97f406564ea1e9874 /include
parentcaacda7a3e898a8b142d27732a9f13a525b08ea7 (diff)
Diffstat (limited to 'include')
-rw-r--r--include/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sched.h b/include/sched.h
index 2d4f301c9718..e03f076febb1 100644
--- a/include/sched.h
+++ b/include/sched.h
@@ -41,7 +41,7 @@ typedef struct _cpuset cpu_set_t;
__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