summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/open.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-05 00:28:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-05 00:28:43 +0000
commit2f87c84349248bf105de731c17cdf75d0050219a (patch)
treed88c1b261e2fb14ff1cba1e16a7245381765ed19 /c/src/lib/libc/open.c
parentAdded optional data and instruction caching enable calls. (diff)
downloadrtems-2f87c84349248bf105de731c17cdf75d0050219a.tar.bz2
Corrected spacing and added some new error checks that were needed
to avoid dereferencing NULLs.
Diffstat (limited to 'c/src/lib/libc/open.c')
-rw-r--r--c/src/lib/libc/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libc/open.c b/c/src/lib/libc/open.c
index 4cdf5acf35..32fd4076e6 100644
--- a/c/src/lib/libc/open.c
+++ b/c/src/lib/libc/open.c
@@ -102,9 +102,9 @@ int open(
/*
* See if the file exists.
*/
-
- status = rtems_filesystem_evaluate_path( pathname, eval_flags, &temp_loc, TRUE );
+ status = rtems_filesystem_evaluate_path(
+ pathname, eval_flags, &temp_loc, TRUE );
if ( status == -1 ) {
if ( errno != ENOENT ) {