summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp35/priinv.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp35/priinv.c')
-rw-r--r--testsuites/sptests/sp35/priinv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/sp35/priinv.c b/testsuites/sptests/sp35/priinv.c
index 417462418a..cc3415140d 100644
--- a/testsuites/sptests/sp35/priinv.c
+++ b/testsuites/sptests/sp35/priinv.c
@@ -427,7 +427,7 @@ rtems_task Init(rtems_task_argument ignored)
directive_failed( status, "rtems_task_start (HWSM)" );
/* Destroy the Init task (and let the ready tasks start running) */
- rtems_task_delete(RTEMS_SELF);
+ rtems_task_exit();
}
/* configuration information */