summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/clocksettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/clocksettime.c')
-rw-r--r--cpukit/posix/src/clocksettime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/clocksettime.c b/cpukit/posix/src/clocksettime.c
index a700ba986b..4d3be3b4a2 100644
--- a/cpukit/posix/src/clocksettime.c
+++ b/cpukit/posix/src/clocksettime.c
@@ -42,7 +42,7 @@ int clock_settime(
rtems_set_errno_and_return_minus_one( EINVAL );
_Thread_Disable_dispatch();
- _TOD_Set( tp );
+ _TOD_Set_with_timespec( tp );
_Thread_Enable_dispatch();
}
#ifdef _POSIX_CPUTIME