diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-14 13:16:31 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-15 10:01:42 +0200 |
commit | df01da67078b4ed4787680d3987f5b40ac93d080 (patch) | |
tree | a5a111a82290eb1b79c344459d34b989b341602d /testsuites | |
parent | rfs: Fix major and minor number integer types (diff) | |
download | rtems-df01da67078b4ed4787680d3987f5b40ac93d080.tar.bz2 |
Filesystem: Use ioctl_command_t
Diffstat (limited to 'testsuites')
-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 ); /* |