summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-14 13:16:31 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-15 10:01:42 +0200
commitdf01da67078b4ed4787680d3987f5b40ac93d080 (patch)
treea5a111a82290eb1b79c344459d34b989b341602d /testsuites
parentrfs: Fix major and minor number integer types (diff)
downloadrtems-df01da67078b4ed4787680d3987f5b40ac93d080.tar.bz2
Filesystem: Use ioctl_command_t
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/psxtests/psxfile01/test.c4
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 );
/*