From dbacafe52e30710b5ec8707f60c531e6aeb857ed Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 18 Apr 2000 06:48:18 +0000 Subject: Update. * manual/sysinfo.texi: Document that umount2 is not widely available. --- linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linuxthreads/sysdeps') diff --git a/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c b/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c index 4fd99a3..90c08d5 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_id != thread_self ()) + if (thread_handle (thread_id) != thread_self ()) return EPERM; /* Store the number. */ -- cgit v1.1