diff options
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/sched_getaffinity.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sched_getaffinity.c b/sysdeps/unix/sysv/linux/sched_getaffinity.c index 09787f2..8503843 100644 --- a/sysdeps/unix/sysv/linux/sched_getaffinity.c +++ b/sysdeps/unix/sysv/linux/sched_getaffinity.c @@ -46,10 +46,10 @@ versioned_symbol (libc, __sched_getaffinity_new, sched_getaffinity, # if SHLIB_COMPAT(libc, 2_3_3, 2_3_4) int attribute_compat_text_section -__sched_getaffinity_old (const pthread_attr_t *attr, cpu_set_t *cpuset) +__sched_getaffinity_old (pid_t pid, cpu_set_t *cpuset) { /* The old interface by default assumed a 1024 processor bitmap. */ - return __sched_getaffinity_new (attr, 128, cpuset); + return __sched_getaffinity_new (pid, 128, cpuset); } compat_symbol (libc, __sched_getaffinity_old, sched_getaffinity, GLIBC_2_3_3); # endif |