diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-18 06:05:35 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-18 06:05:35 +0000 |
commit | 50f32b11653429546d7b8ff2693b5232b885e201 (patch) | |
tree | a8821a7e3025ef47082cc21ccbb56551382cdc3f /cpukit/libcsupport/src/ftruncate.c | |
parent | Remove stray white spaces. (diff) | |
download | rtems-50f32b11653429546d7b8ff2693b5232b885e201.tar.bz2 |
Remove stray white spaces.
Diffstat (limited to 'cpukit/libcsupport/src/ftruncate.c')
-rw-r--r-- | cpukit/libcsupport/src/ftruncate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/ftruncate.c b/cpukit/libcsupport/src/ftruncate.c index f010454233..6619ca5f74 100644 --- a/cpukit/libcsupport/src/ftruncate.c +++ b/cpukit/libcsupport/src/ftruncate.c @@ -28,7 +28,7 @@ int ftruncate( { rtems_libio_t *iop; rtems_filesystem_location_info_t loc; - + rtems_libio_check_fd( fd ); iop = rtems_libio_iop( fd ); rtems_libio_check_is_open(iop); @@ -36,7 +36,7 @@ int ftruncate( /* * Now process the ftruncate() request. */ - + /* * Make sure we are not working on a directory */ @@ -44,7 +44,7 @@ int ftruncate( loc = iop->pathinfo; if ( !loc.ops->node_type_h ) rtems_set_errno_and_return_minus_one( ENOTSUP ); - + if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) rtems_set_errno_and_return_minus_one( EISDIR ); |