summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-06-02 23:47:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-06-02 23:47:05 +0000
commit8e7b8105d6db79fdbfbeb93817b2ef834bc05d4e (patch)
tree701650541c1ac81d28ed3f4f3004b70fa5a8188f /c/src/ada-tests
parent*** empty log message *** (diff)
downloadrtems-8e7b8105d6db79fdbfbeb93817b2ef834bc05d4e.tar.bz2
added subtract of 1 to Task_Number to account for the creation
of the initialization task
Diffstat (limited to 'c/src/ada-tests')
-rw-r--r--c/src/ada-tests/support/test_support.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/ada-tests/support/test_support.adb b/c/src/ada-tests/support/test_support.adb
index d5ab4b40ba..b3e3a2d86c 100644
--- a/c/src/ada-tests/support/test_support.adb
+++ b/c/src/ada-tests/support/test_support.adb
@@ -207,7 +207,7 @@ package body Test_Support is
) return RTEMS.Unsigned32 is
begin
- return RTEMS.Get_Index( TID ) -
+ return RTEMS.Get_Index( TID ) - 1 -
RTEMS.Configuration.RTEMS_API_Configuration.Number_Of_Initialization_Tasks;
end Task_Number;