summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx02
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx02')
-rw-r--r--testsuites/psxtests/psx02/init.c2
-rw-r--r--testsuites/psxtests/psx02/task.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx02/init.c b/testsuites/psxtests/psx02/init.c
index 55e360b6f9..48060fd7ae 100644
--- a/testsuites/psxtests/psx02/init.c
+++ b/testsuites/psxtests/psx02/init.c
@@ -139,7 +139,7 @@ void *POSIX_Init(
/* exit this thread */
puts( "*** END OF POSIX TEST 2 ***" );
- exit( 0 );
+ rtems_test_exit( 0 );
return NULL; /* just so the compiler thinks we returned something */
}
diff --git a/testsuites/psxtests/psx02/task.c b/testsuites/psxtests/psx02/task.c
index 0f2730983b..8d0a711c21 100644
--- a/testsuites/psxtests/psx02/task.c
+++ b/testsuites/psxtests/psx02/task.c
@@ -38,7 +38,7 @@ void *Task_1_through_3(
assert( !seconds );
}
puts( "*** END OF POSIX TEST 2 ***" );
- exit( 0 );
+ rtems_test_exit( 0 );
return NULL; /* just so the compiler thinks we returned something */
}