summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sched_setaffinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/sched_setaffinity.c')
-rw-r--r--libc/sysdeps/linux/common/sched_setaffinity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/sched_setaffinity.c b/libc/sysdeps/linux/common/sched_setaffinity.c
index 004ec9dd0..756770c48 100644
--- a/libc/sysdeps/linux/common/sched_setaffinity.c
+++ b/libc/sysdeps/linux/common/sched_setaffinity.c
@@ -82,7 +82,7 @@ int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset)
#endif
#if defined ___HAVE_NO_sched_setaffinity && defined __UCLIBC_HAS_STUBS__
-int sched_setaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *cpuset)
+int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset)
{
__set_errno(ENOSYS);
return -1;