diff options
Diffstat (limited to 'testsuites/psxtests/psxfile01/test.c')
-rw-r--r-- | testsuites/psxtests/psxfile01/test.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxfile01/test.c b/testsuites/psxtests/psxfile01/test.c index 20a079277e..d817e655ab 100644 --- a/testsuites/psxtests/psxfile01/test.c +++ b/testsuites/psxtests/psxfile01/test.c @@ -334,9 +334,7 @@ int main( puts("create /tmp/john"); fd = open( "/tmp/john", O_RDWR|O_CREAT, S_IRWXU|S_IRWXG|S_IRWXO ); rtems_test_assert( fd != -1 ); - - puts("tcdrain /tmp/john" ); - status = tcdrain( fd ); + status = close( fd ); rtems_test_assert( status == 0 ); /* |