From b5bfaaf9c27996d672f7aad67fee24581ab2f218 Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Thu, 23 Jun 2016 16:55:38 -0400 Subject: posix: cond_timedwait remember and use clock from condattr updates #2745 --- cpukit/posix/src/mqueuetimedreceive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/posix/src/mqueuetimedreceive.c') diff --git a/cpukit/posix/src/mqueuetimedreceive.c b/cpukit/posix/src/mqueuetimedreceive.c index 19e5430ff2..f9b2730baa 100644 --- a/cpukit/posix/src/mqueuetimedreceive.c +++ b/cpukit/posix/src/mqueuetimedreceive.c @@ -76,7 +76,7 @@ ssize_t mq_timedreceive( * TOD_ABSOLUTE_TIMEOUT_IS_IN_PAST, or TOD_ABSOLUTE_TIMEOUT_IS_NOW, * then we should not wait. */ - status = _TOD_Absolute_timeout_to_ticks( abstime, &ticks ); + status = _TOD_Absolute_timeout_to_ticks( abstime, CLOCK_REALTIME, &ticks ); if ( status != TOD_ABSOLUTE_TIMEOUT_IS_IN_FUTURE ) do_wait = false; -- cgit v1.2.3