summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/open.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-01 11:42:19 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-01 11:42:19 +0000
commit4088d01d9f037d26365d462fa243561da8cd8cb1 (patch)
tree09c49db259194ed146ef51d086e6cb142e63fb1b /cpukit/libcsupport/src/open.c
parent2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-4088d01d9f037d26365d462fa243561da8cd8cb1.tar.bz2
Convert using "bool".
Diffstat (limited to 'cpukit/libcsupport/src/open.c')
-rw-r--r--cpukit/libcsupport/src/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/open.c b/cpukit/libcsupport/src/open.c
index a67680a031..e29427e568 100644
--- a/cpukit/libcsupport/src/open.c
+++ b/cpukit/libcsupport/src/open.c
@@ -111,7 +111,7 @@ int open(
*/
status = rtems_filesystem_evaluate_path(
- pathname, eval_flags, &loc, TRUE );
+ pathname, eval_flags, &loc, true );
if ( status == -1 ) {
if ( errno != ENOENT ) {
@@ -133,7 +133,7 @@ int open(
}
/* Sanity check to see if the file name exists after the mknod() */
- status = rtems_filesystem_evaluate_path( pathname, 0x0, &loc, TRUE );
+ status = rtems_filesystem_evaluate_path( pathname, 0x0, &loc, true );
if ( status != 0 ) { /* The file did not exist */
rc = EACCES;
goto done;