summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/timersettime.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-10-31 13:07:34 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-10-31 13:09:56 +0100
commitbb9f09f34c9bdcf4d2631a1fd317bcefd8426efb (patch)
tree645e92728a6fb3864cca12bfb5efc1cb1be7c25c /cpukit/posix/src/timersettime.c
parentposix: Fix timeout handling in sigtimedwait() (diff)
downloadrtems-bb9f09f34c9bdcf4d2631a1fd317bcefd8426efb.tar.bz2
posix: Fix timer interval
Do not overwrite timer interval with initial interval in _POSIX_Timer_Insert(). Close #2798.
Diffstat (limited to 'cpukit/posix/src/timersettime.c')
-rw-r--r--cpukit/posix/src/timersettime.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/posix/src/timersettime.c b/cpukit/posix/src/timersettime.c
index 51678ca5cb..698a47a6b7 100644
--- a/cpukit/posix/src/timersettime.c
+++ b/cpukit/posix/src/timersettime.c
@@ -35,8 +35,6 @@ static void _POSIX_Timer_Insert(
Watchdog_Interval ticks
)
{
- ptimer->ticks = ticks;
-
/* The state really did not change but just to be safe */
ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;