diff options
Diffstat (limited to 'cpukit/libcsupport/src/open.c')
-rw-r--r-- | cpukit/libcsupport/src/open.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libcsupport/src/open.c b/cpukit/libcsupport/src/open.c index 6fa7783322..0b6be69fdb 100644 --- a/cpukit/libcsupport/src/open.c +++ b/cpukit/libcsupport/src/open.c @@ -70,11 +70,11 @@ static int do_open( bool make = (oflag & O_CREAT) == O_CREAT; bool exclusive = (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL); bool truncate = (oflag & O_TRUNC) == O_TRUNC; - int eval_flags = RTEMS_LIBIO_FOLLOW_LINK - | (read_access ? RTEMS_LIBIO_PERMS_READ : 0) - | (write_access ? RTEMS_LIBIO_PERMS_WRITE : 0) - | (make ? RTEMS_LIBIO_MAKE : 0) - | (exclusive ? RTEMS_LIBIO_EXCLUSIVE : 0); + int eval_flags = RTEMS_FS_FOLLOW_LINK + | (read_access ? RTEMS_FS_PERMS_READ : 0) + | (write_access ? RTEMS_FS_PERMS_WRITE : 0) + | (make ? RTEMS_FS_MAKE : 0) + | (exclusive ? RTEMS_FS_EXCLUSIVE : 0); rtems_filesystem_eval_path_context_t ctx; rtems_filesystem_eval_path_start( &ctx, path, eval_flags ); |