diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-09 02:45:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-09 02:45:42 +0000 |
commit | 290e2375ab94332ff3c69001cf7cf75f7a7b16e6 (patch) | |
tree | ae4c119ee560f143539766b66c303eaac7ac09c5 /libpthread/linuxthreads/pthread.c | |
parent | 43014917a316b581cca09dbc32c04cbdb517ffda (diff) |
newer linuxthreads renamed the function invalid_handle() to nonexisting_handle()
Diffstat (limited to 'libpthread/linuxthreads/pthread.c')
-rw-r--r-- | libpthread/linuxthreads/pthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/pthread.c b/libpthread/linuxthreads/pthread.c index 4027d1b13..5b038acb8 100644 --- a/libpthread/linuxthreads/pthread.c +++ b/libpthread/linuxthreads/pthread.c @@ -632,7 +632,7 @@ int pthread_setschedparam(pthread_t thread, int policy, pthread_descr th; __pthread_lock(&handle->h_lock, NULL); - if (invalid_handle(handle, thread)) { + if (nonexisting_handle(handle, thread)) { __pthread_unlock(&handle->h_lock); return ESRCH; } @@ -655,7 +655,7 @@ int pthread_getschedparam(pthread_t thread, int *policy, int pid, pol; __pthread_lock(&handle->h_lock, NULL); - if (invalid_handle(handle, thread)) { + if (nonexisting_handle(handle, thread)) { __pthread_unlock(&handle->h_lock); return ESRCH; } |