From f5ff12d851be1c225385c037ccfc29ffa6216c94 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 13 Feb 2000 16:59:51 +0000 Subject: Update. 2000-02-13 Andreas Jaeger * condvar.c (pthread_cond_timedwait_relative_new): Fix last patch. (pthread_cond_timedwait_relative_old): Likewise. --- linuxthreads/ChangeLog | 5 +++++ linuxthreads/condvar.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'linuxthreads') 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 + + * condvar.c (pthread_cond_timedwait_relative_new): Fix last patch. + (pthread_cond_timedwait_relative_old): Likewise. + 2000-02-13 Ulrich Drepper * 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); -- cgit v1.2.3-70-g09d2