about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-13 15:13:26 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-13 15:13:26 +0000
commit547ff46273e7460f79a51ecda370116969eba182 (patch)
treeda4830db61c4476e634a69dbcf67ba480acd3631 /linuxthreads
parent3737ff12bcf09b8724905483b57e063125e0f43c (diff)
downloadglibc-547ff46273e7460f79a51ecda370116969eba182.tar.gz
glibc-547ff46273e7460f79a51ecda370116969eba182.tar.xz
glibc-547ff46273e7460f79a51ecda370116969eba182.zip
Update.
2000-04-13  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/getcpuclockid.c
	(pthread_getcpuclockid): Fix typo.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index d7c9b5f20f..aabde7b4ce 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2000-04-13  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/i386/getcpuclockid.c
+	(pthread_getcpuclockid): Fix typo.
+
 2000-04-12  Ulrich Drepper  <drepper@redhat.com>
 
 	* Makefile (libpthread-routines): Add getcpuclockid.
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c b/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c
index 2c4218acdc..4fd99a3fde 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c
+++ b/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c
@@ -31,7 +31,7 @@ pthread_getcpuclockid (pthread_t thread_id, clockid_t *clock_id)
     return EPERM;
 
   /* Store the number.  */
-  *clock_id = CLOCK_PTHREAD_CPUTIME_ID;
+  *clock_id = CLOCK_THREAD_CPUTIME_ID;
 
   return 0;
 }