about summary refs log tree commit diff
path: root/linuxthreads/condvar.c
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 /linuxthreads/condvar.c
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.
Diffstat (limited to 'linuxthreads/condvar.c')
-rw-r--r--linuxthreads/condvar.c4
1 files changed, 2 insertions, 2 deletions
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);