From 65dd321054cbbbcca192375b08843e860fc3b3c5 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Fri, 17 Dec 2021 08:22:21 +0200 Subject: [PATCH] sched.h: Use pid_t type for pid argument MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33533 --- include/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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