diff options
Diffstat (limited to 'c/src/tests/psxtests/psxfile01/test_cat.c')
-rw-r--r-- | c/src/tests/psxtests/psxfile01/test_cat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/tests/psxtests/psxfile01/test_cat.c b/c/src/tests/psxtests/psxfile01/test_cat.c index f6daecfad7..ea1e63ef7e 100644 --- a/c/src/tests/psxtests/psxfile01/test_cat.c +++ b/c/src/tests/psxtests/psxfile01/test_cat.c @@ -17,6 +17,8 @@ #include <assert.h> +#include <pmacros.h> + /* * test_cat routine */ @@ -44,7 +46,7 @@ void test_cat( fd = open( file, O_RDONLY ); if ( fd == -1 ) { printf( "test_cat: open( %s ) failed : %s\n", file, strerror( errno ) ); - exit( 0 ); + rtems_test_exit( 0 ); } for ( ;; ) { |