summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/open.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/open.c
parentRemove stray white spaces. (diff)
downloadrtems-50f32b11653429546d7b8ff2693b5232b885e201.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'cpukit/libcsupport/src/open.c')
-rw-r--r--cpukit/libcsupport/src/open.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/libcsupport/src/open.c b/cpukit/libcsupport/src/open.c
index 5ecb48175d..66c5367f76 100644
--- a/cpukit/libcsupport/src/open.c
+++ b/cpukit/libcsupport/src/open.c
@@ -36,10 +36,10 @@
* EINTR - The open( operation was interrupted by a signal.
* EINVAL - This implementation does not support synchronized IO for this
* file.
- * EISDIR - The named file is a directory and the flags argument
+ * EISDIR - The named file is a directory and the flags argument
* specified write or read/write access.
* EMFILE - Too many file descriptors are in used by this process.
- * ENAMETOOLONG -
+ * ENAMETOOLONG -
* The length of the path exceeds PATH_MAX or a pathname
* component is longer than NAME_MAX while POSIX_NO_TRUNC
* is in effect.
@@ -74,7 +74,7 @@ int open(
/*
- * Set the Evaluation flags
+ * Set the Evaluation flags
*/
eval_flags = 0;
@@ -84,7 +84,7 @@ int open(
if ( ( status & _FWRITE ) == _FWRITE )
eval_flags |= RTEMS_LIBIO_PERMS_WRITE;
-
+
va_start(ap, flags);
mode = va_arg( ap, int );
@@ -160,7 +160,7 @@ int open(
if ( !iop->handlers->open_h ) {
rc = ENOTSUP;
- goto done;
+ goto done;
}
rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );
@@ -180,7 +180,7 @@ int open(
loc_to_free = NULL;
}
}
-
+
/*
* Single exit and clean up path.
*/