diff options
Diffstat (limited to 'cpukit/posix/src/timersettime.c')
-rw-r--r-- | cpukit/posix/src/timersettime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/posix/src/timersettime.c b/cpukit/posix/src/timersettime.c index e55a18ef07..bbac472aa6 100644 --- a/cpukit/posix/src/timersettime.c +++ b/cpukit/posix/src/timersettime.c @@ -59,8 +59,9 @@ int timer_settime( /* Check for seconds in the past */ if ( _Timespec_Greater_than( &normalize.it_value, &_TOD_Now ) ) rtems_set_errno_and_return_minus_one( EINVAL ); - _Timespec_Subtract( &_TOD_Now, &normalize.it_value, &normalize.it_value); + _Timespec_Subtract( &_TOD_Now, &normalize.it_value, &normalize.it_value ); } + /* If the function reaches this point, then it will be necessary to do * something with the structure of times of the timer: to stop, start * or start it again |