diff options
author | Andreas Jaeger <aj@suse.de> | 2004-03-20 06:42:17 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2004-03-20 06:42:17 +0000 |
commit | 770c415706f847b5e55019b014f0349c339a213c (patch) | |
tree | 2dc9642556061f2573f900078b8ac99ada35390d /sysdeps | |
parent | 07bd2a3fda47e7cfa83e808eb99a0da9d1184a30 (diff) | |
download | glibc-770c415706f847b5e55019b014f0349c339a213c.tar.gz glibc-770c415706f847b5e55019b014f0349c339a213c.tar.xz glibc-770c415706f847b5e55019b014f0349c339a213c.zip |
(__sched_getaffinity_old): Fix interface.
Diffstat (limited to 'sysdeps')
-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 09787f277f..8503843788 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 |