diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-03-22 19:32:45 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-03-22 19:32:45 +0000 |
commit | 9708780004abee24d2c49fffe670820e36029377 (patch) | |
tree | a8fd5c9a1b34606342c84a9418778a8f90d8c3c0 /nptl/sysdeps/unix | |
parent | 6873f5c70648a7d05c58277e9e8e076460a01a4c (diff) | |
download | glibc-9708780004abee24d2c49fffe670820e36029377.tar.gz glibc-9708780004abee24d2c49fffe670820e36029377.tar.xz glibc-9708780004abee24d2c49fffe670820e36029377.zip |
(__pthread_getaffinity_new): Use INT_MAX instead of UINT_MAX.
Diffstat (limited to 'nptl/sysdeps/unix')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c b/nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c index 8d3f353ed7..89edef65c1 100644 --- a/nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c +++ b/nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c @@ -34,7 +34,7 @@ __pthread_getaffinity_new (pthread_t th, size_t cpusetsize, cpu_set_t *cpuset) INTERNAL_SYSCALL_DECL (err); int res = INTERNAL_SYSCALL (sched_getaffinity, err, 3, pd->tid, - MIN (UINT_MAX, cpusetsize), cpuset); + MIN (INT_MAX, cpusetsize), cpuset); if (INTERNAL_SYSCALL_ERROR_P (res, err)) return INTERNAL_SYSCALL_ERRNO (res, err); |