summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-30 11:58:17 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-30 11:58:17 +0000
commitb4d73a11770826f5195ce6ebafd4538e3755f30a (patch)
tree965568b57c2085b8f43a5c2af82075bc44e89367 /libc/sysdeps
parent17de1ab3f64fc0de4f242f5960cd67e3fe1d6547 (diff)
- add missing const qualifier for !__NR_sched_setaffinity && HAVE_STUBS
Diffstat (limited to 'libc/sysdeps')
-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;