summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxkey03/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxkey03/init.c')
-rw-r--r--testsuites/psxtests/psxkey03/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxkey03/init.c b/testsuites/psxtests/psxkey03/init.c
index 6d57b28b86..8f0a890752 100644
--- a/testsuites/psxtests/psxkey03/init.c
+++ b/testsuites/psxtests/psxkey03/init.c
@@ -42,7 +42,7 @@ rtems_task Test_Thread( rtems_task_argument value )
rtems_test_assert( !sc );
puts( "Test_Thread - pthread_exit to run key destructors - OK" );
- rtems_task_delete( RTEMS_SELF );
+ rtems_task_exit();
}
rtems_task Init(rtems_task_argument ignored)