summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxstat/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxstat/test.c')
-rw-r--r--testsuites/psxtests/psxstat/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxstat/test.c b/testsuites/psxtests/psxstat/test.c
index 04517de986..8852674181 100644
--- a/testsuites/psxtests/psxstat/test.c
+++ b/testsuites/psxtests/psxstat/test.c
@@ -24,6 +24,7 @@
#include <rtems.h>
#include <rtems/libio.h>
#include <imfs.h>
+#include <pmacros.h>
#define MAXSYMLINK 5 /* There needs to be a better way of getting this. */
#define TIMEOUT_VALUE ( 5 * TICKS_PER_SECOND )
@@ -845,7 +846,7 @@ int main(
chown_multiple_files( Links_to_Dirs );
puts( "\n\n*** END OF STAT TEST 01 ***" );
- exit(0);
+ rtems_test_exit(0);
}