summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/ChangeLog5
-rw-r--r--testsuites/sptests/sp30/task1.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index f87563c9aa..22b0f32c84 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-18 Eiichiro Kawaguchi <e-kawaguchi@ct.jp.nec.com>
+
+ PR 458/tests
+ * sp30/task1.c: Correct indexing problem.
+
2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Reflect having moved aclocal/.
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
);