2000-02-13  Andreas Jaeger  <aj@suse.de>

	* condvar.c (pthread_cond_timedwait_relative_new): Fix last patch.
	(pthread_cond_timedwait_relative_old): Likewise.
This commit is contained in:
Ulrich Drepper 2000-02-13 16:59:51 +00:00
parent 466618568d
commit f5ff12d851
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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);