diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-02-05 00:28:43 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-02-05 00:28:43 +0000 |
commit | 2f87c84349248bf105de731c17cdf75d0050219a (patch) | |
tree | d88c1b261e2fb14ff1cba1e16a7245381765ed19 /c/src/exec/libcsupport/src/open.c | |
parent | Added optional data and instruction caching enable calls. (diff) | |
download | rtems-2f87c84349248bf105de731c17cdf75d0050219a.tar.bz2 |
Corrected spacing and added some new error checks that were needed
to avoid dereferencing NULLs.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/libcsupport/src/open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/libcsupport/src/open.c b/c/src/exec/libcsupport/src/open.c index 4cdf5acf35..32fd4076e6 100644 --- a/c/src/exec/libcsupport/src/open.c +++ b/c/src/exec/libcsupport/src/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 ) { |