summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/fchdir.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;
}