summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxkey10/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxkey10/init.c')
-rw-r--r--testsuites/psxtests/psxkey10/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxkey10/init.c b/testsuites/psxtests/psxkey10/init.c
index 6273f1d899..0cd24c0a14 100644
--- a/testsuites/psxtests/psxkey10/init.c
+++ b/testsuites/psxtests/psxkey10/init.c
@@ -49,7 +49,7 @@ rtems_task Test_Thread( rtems_task_argument arg )
rtems_test_assert( sc == 0 );
puts( "Test_Thread - exit but don't run key destructors - OK" );
- rtems_task_delete( RTEMS_SELF );
+ rtems_task_exit();
}
rtems_task Init( rtems_task_argument ignored )