summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxglobalcon02/init.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxglobalcon02/init.cc')
-rw-r--r--testsuites/psxtests/psxglobalcon02/init.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxglobalcon02/init.cc b/testsuites/psxtests/psxglobalcon02/init.cc
index 0ce5bdcea0..be54858320 100644
--- a/testsuites/psxtests/psxglobalcon02/init.cc
+++ b/testsuites/psxtests/psxglobalcon02/init.cc
@@ -44,7 +44,7 @@ extern "C" void Init(rtems_task_argument argument)
rtems_init_done = true;
- rtems_task_delete(RTEMS_SELF);
+ rtems_task_exit();
rtems_test_assert(0);
}