summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coretodabsolutetimeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/coretodabsolutetimeout.c')
-rw-r--r--cpukit/score/src/coretodabsolutetimeout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/coretodabsolutetimeout.c b/cpukit/score/src/coretodabsolutetimeout.c
index fe74a6bbf2..d67b7c33c7 100644
--- a/cpukit/score/src/coretodabsolutetimeout.c
+++ b/cpukit/score/src/coretodabsolutetimeout.c
@@ -47,7 +47,7 @@ TOD_Absolute_timeout_conversion_results _TOD_Absolute_timeout_to_ticks(
* Is the absolute time in the past?
*/
if ( clock == CLOCK_REALTIME ) {
- _TOD_Get_as_timespec( &current_time );
+ _TOD_Get( &current_time );
} else {
_Assert( clock == CLOCK_MONOTONIC );
_TOD_Get_zero_based_uptime_as_timespec( &current_time );