summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxkey04
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxkey04')
-rw-r--r--testsuites/psxtests/psxkey04/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxkey04/init.c b/testsuites/psxtests/psxkey04/init.c
index 34e52c8aab..d42633ce25 100644
--- a/testsuites/psxtests/psxkey04/init.c
+++ b/testsuites/psxtests/psxkey04/init.c
@@ -49,7 +49,7 @@ rtems_task Test_Thread1( rtems_task_argument argument )
value = pthread_getspecific( Key );
rtems_test_assert( *value == Data_array[0] );
- rtems_task_delete( RTEMS_SELF );
+ rtems_task_exit();
}
rtems_task Test_Thread2( rtems_task_argument argument )
@@ -65,7 +65,7 @@ rtems_task Test_Thread2( rtems_task_argument argument )
value = pthread_getspecific( Key );
rtems_test_assert( *value == Data_array[1] );
- rtems_task_delete( RTEMS_SELF );
+ rtems_task_exit();
}
rtems_task Init( rtems_task_argument ignored )