aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-05-05 21:32:19 +0000
committerAndreas Jaeger <aj@suse.de>2000-05-05 21:32:19 +0000
commitb19b73833a8627a26c083bad7147dffd3e52769a (patch)
treef79dcd67292bea72193452a284ebf1da08700abf /linuxthreads/sysdeps
parentfda4deac4361d47c60df663f7c1c997322d10b5e (diff)
downloadglibc-b19b73833a8627a26c083bad7147dffd3e52769a.zip
glibc-b19b73833a8627a26c083bad7147dffd3e52769a.tar.gz
glibc-b19b73833a8627a26c083bad7147dffd3e52769a.tar.bz2
2000-05-05 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/i386/getcpuclockid.c (pthread_getcpuclockid): Correct test for ourselves. 2000-05-05 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/getcpuclockid.c (pthread_getcpuclockid): Correct test for ourselves.
Diffstat (limited to 'linuxthreads/sysdeps')
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c b/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c
index 90c08d5..b1a9670 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c
+++ b/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c
@@ -27,7 +27,7 @@ int
pthread_getcpuclockid (pthread_t thread_id, clockid_t *clock_id)
{
/* We don't allow any process ID but our own. */
- if (thread_handle (thread_id) != thread_self ())
+ if (thread_handle (thread_id)->h_descr != thread_self ())
return EPERM;
/* Store the number. */