(pthread_cond_timedwait_relative_new): Fix last patch.
authordrepper <drepper>
Sun, 13 Feb 2000 16:59:29 +0000 (16:59 +0000)
committerdrepper <drepper>
Sun, 13 Feb 2000 16:59:29 +0000 (16:59 +0000)
(pthread_cond_timedwait_relative_old): Likewise.

linuxthreads/condvar.c

index b1cde4d..2dd1e84 100644 (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);