summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx15/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx15/init.c')
-rw-r--r--testsuites/psxtests/psx15/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psx15/init.c b/testsuites/psxtests/psx15/init.c
index 74fbfb9a45..03ddf71996 100644
--- a/testsuites/psxtests/psx15/init.c
+++ b/testsuites/psxtests/psx15/init.c
@@ -60,7 +60,7 @@ static void suicide_task(rtems_task_argument arg)
printf("suicide task %d\n", me);
- rtems_task_delete(RTEMS_SELF);
+ rtems_task_exit();
rtems_test_assert(false);
}