From 50f32b11653429546d7b8ff2693b5232b885e201 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 18 Apr 2004 06:05:35 +0000 Subject: Remove stray white spaces. --- cpukit/libcsupport/src/ftruncate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/libcsupport/src/ftruncate.c') 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 ); -- cgit v1.2.3