summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spstdthreads01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spstdthreads01/init.c')
-rw-r--r--testsuites/sptests/spstdthreads01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/spstdthreads01/init.c b/testsuites/sptests/spstdthreads01/init.c
index 72c4a153e9..5b4538b40a 100644
--- a/testsuites/sptests/spstdthreads01/init.c
+++ b/testsuites/sptests/spstdthreads01/init.c
@@ -362,7 +362,7 @@ static void high_task(rtems_task_argument idx)
val = tss_get(ctx->tss);
rtems_test_assert(val == &tss_val);
- rtems_task_delete(RTEMS_SELF);
+ rtems_task_exit();
rtems_test_assert(0);
}
}