summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/timercreate.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-01-20 18:22:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-01-20 18:22:28 +0000
commitf3b7be3bf25a17d86bf1475a9a4145e113065854 (patch)
treeefa0304e36abf126cdf7b7082a3f00bdacd50603 /cpukit/rtems/src/timercreate.c
parent2005-01-20 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-f3b7be3bf25a17d86bf1475a9a4145e113065854.tar.bz2
2005-01-20 Joel Sherrill <joel@OARcorp.com>
PR 745/rtems * rtems/src/ratemoncreate.c, rtems/src/timercreate.c: Make sure internal timer structures are initialized so object control reuse is safe.
Diffstat (limited to 'cpukit/rtems/src/timercreate.c')
-rw-r--r--cpukit/rtems/src/timercreate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/rtems/src/timercreate.c b/cpukit/rtems/src/timercreate.c
index 4b1f5294a8..e303b93204 100644
--- a/cpukit/rtems/src/timercreate.c
+++ b/cpukit/rtems/src/timercreate.c
@@ -64,6 +64,7 @@ rtems_status_code rtems_timer_create(
}
the_timer->the_class = TIMER_DORMANT;
+ _Watchdog_Initialize( &the_timer->Ticker, NULL, 0, NULL );
_Objects_Open(
&_Timer_Information,