summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp12/pritask.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp12/pritask.c')
-rw-r--r--testsuites/sptests/sp12/pritask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/sp12/pritask.c b/testsuites/sptests/sp12/pritask.c
index 4ccf31f786..fb28405c44 100644
--- a/testsuites/sptests/sp12/pritask.c
+++ b/testsuites/sptests/sp12/pritask.c
@@ -48,7 +48,7 @@ rtems_task Priority_task(
if ( its_priority < 64 ) {
printf( "PRI%d - WHY AM I HERE? (pri=%d)", its_index, its_priority );
- exit( 0 );
+ rtems_test_exit( 0 );
}
if ( its_index == 5 )