about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-13 16:59:51 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-13 16:59:51 +0000
commitf5ff12d851be1c225385c037ccfc29ffa6216c94 (patch)
treee8445cdfdd368c8fd2dbd731a460de3263f18954
parent466618568dd9045eaf0e9ce505d1e2c9edd47243 (diff)
downloadglibc-f5ff12d851be1c225385c037ccfc29ffa6216c94.tar.gz
glibc-f5ff12d851be1c225385c037ccfc29ffa6216c94.tar.xz
glibc-f5ff12d851be1c225385c037ccfc29ffa6216c94.zip
Update.
2000-02-13  Andreas Jaeger  <aj@suse.de>

	* condvar.c (pthread_cond_timedwait_relative_new): Fix last patch.
	(pthread_cond_timedwait_relative_old): Likewise.
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/condvar.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 382ad68604..8728384942 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2000-02-13  Andreas Jaeger  <aj@suse.de>
+
+	* condvar.c (pthread_cond_timedwait_relative_new): Fix last patch.
+	(pthread_cond_timedwait_relative_old): Likewise.
+
 2000-02-13  Ulrich Drepper  <drepper@redhat.com>
 
 	* condvar.c (pthread_cond_timedwait_relative_old): Undo last patch
diff --git a/linuxthreads/condvar.c b/linuxthreads/condvar.c
index b1cde4d9f3..2dd1e84027 100644
--- a/linuxthreads/condvar.c
+++ b/linuxthreads/condvar.c
@@ -194,7 +194,7 @@ pthread_cond_timedwait_relative_old(pthread_cond_t *cond,
 	;
 #else
       /* Sleep for the required duration */
-      retsleep = __libc_nanosleep(&reltime, NULL);
+      retsleep = __libc_nanosleep(reltime, NULL);
 #endif
       /* Block the restart signal again */
       sigprocmask(SIG_SETMASK, &initial_mask, NULL);
@@ -337,7 +337,7 @@ pthread_cond_timedwait_relative_new(pthread_cond_t *cond,
       ;
 #else
     /* Sleep for the required duration */
-    retsleep = __libc_nanosleep(&reltime, NULL);
+    retsleep = __libc_nanosleep(reltime, NULL);
 #endif
     /* Block the restart signal again */
     sigprocmask(SIG_SETMASK, &initial_mask, NULL);