summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp30/task1.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-08-18 15:29:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-08-18 15:29:06 +0000
commit35fc6bf981246e78621faf099e019a0d7e374e0c (patch)
treefb61e5d0bf81583ef45e9bd70a2ae977d2b161da /testsuites/sptests/sp30/task1.c
parent284e4fc53310e93c9c331339c4b5c05b9e3f6010 (diff)
downloadrtems-35fc6bf981246e78621faf099e019a0d7e374e0c.tar.bz2
2003-08-18 Eiichiro Kawaguchi <e-kawaguchi@ct.jp.nec.com>
PR 458/tests * sp30/task1.c: Correct indexing problem.
Diffstat (limited to '')
-rw-r--r--testsuites/sptests/sp30/task1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/sp30/task1.c b/testsuites/sptests/sp30/task1.c
index 38e6ad9ab2..3c7a6b57d5 100644
--- a/testsuites/sptests/sp30/task1.c
+++ b/testsuites/sptests/sp30/task1.c
@@ -34,7 +34,7 @@ rtems_task Task_1_through_3(
while ( FOREVER ) {
status = rtems_timer_server_fire_after(
Timer_id[ argument ],
- task_number( tid ) * 5 * TICKS_PER_SECOND,
+ (task_number( tid ) - 1) * 5 * TICKS_PER_SECOND,
Resume_task,
NULL
);