diff options
Diffstat (limited to 'cpukit/posix/src/prwlocktimedrdlock.c')
-rw-r--r-- | cpukit/posix/src/prwlocktimedrdlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/prwlocktimedrdlock.c b/cpukit/posix/src/prwlocktimedrdlock.c index c7f16002fd..b1a7c01c76 100644 --- a/cpukit/posix/src/prwlocktimedrdlock.c +++ b/cpukit/posix/src/prwlocktimedrdlock.c @@ -47,7 +47,7 @@ int pthread_rwlock_timedrdlock( * TOD_ABSOLUTE_TIMEOUT_IS_IN_PAST, or TOD_ABSOLUTE_TIMEOUT_IS_NOW, * then we should not wait. */ - timeout_status = _TOD_Absolute_timeout_to_ticks( abstime, &ticks ); + timeout_status = _TOD_Absolute_timeout_to_ticks( abstime, CLOCK_REALTIME, &ticks ); do_wait = ( timeout_status == TOD_ABSOLUTE_TIMEOUT_IS_IN_FUTURE ); the_rwlock = _POSIX_RWLock_Get( rwlock, &queue_context ); |