summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/fchdir.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-18 06:05:35 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-18 06:05:35 +0000
commit50f32b11653429546d7b8ff2693b5232b885e201 (patch)
treea8821a7e3025ef47082cc21ccbb56551382cdc3f /cpukit/libcsupport/src/fchdir.c
parentRemove stray white spaces. (diff)
downloadrtems-50f32b11653429546d7b8ff2693b5232b885e201.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'cpukit/libcsupport/src/fchdir.c')
-rw-r--r--cpukit/libcsupport/src/fchdir.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libcsupport/src/fchdir.c b/cpukit/libcsupport/src/fchdir.c
index ad5f8207a1..603288614d 100644
--- a/cpukit/libcsupport/src/fchdir.c
+++ b/cpukit/libcsupport/src/fchdir.c
@@ -30,7 +30,7 @@ int fchdir(
{
rtems_libio_t *iop;
rtems_filesystem_location_info_t loc, saved;
-
+
rtems_libio_check_fd( fd );
iop = rtems_libio_iop( fd );
rtems_libio_check_is_open(iop);
@@ -57,7 +57,7 @@ int fchdir(
RTEMS_FILESYSTEM_DIRECTORY ) {
rtems_set_errno_and_return_minus_one( ENOTDIR );
}
-
+
/*
* FIXME : I feel there should be another call to
@@ -71,10 +71,10 @@ int fchdir(
* share their rtems_filesystem_current better
* be synchronized!
*/
-
+
saved = rtems_filesystem_current;
rtems_filesystem_current = iop->pathinfo;
-
+
/* clone the current node */
if (rtems_filesystem_evaluate_path(".", 0, &loc, 0)) {
/* cloning failed; restore original and bail out */
@@ -85,6 +85,6 @@ int fchdir(
rtems_filesystem_freenode( &saved );
rtems_filesystem_current = loc;
-
+
return 0;
}