summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/mknod.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-03-13 09:22:11 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-03-13 12:24:10 +0100
commit256341001927de4c8b34c870bc0e56892ddbb533 (patch)
tree190e106d837d3bd3ffc2f55c6efbcd48b9ec55c0 /cpukit/libcsupport/src/mknod.c
parentFilesystem: New defaults fsync_h and fdatasync_h (diff)
downloadrtems-256341001927de4c8b34c870bc0e56892ddbb533.tar.bz2
Filesystem: Rename defines
o Removed RTEMS_LIBIO_PERMS_SEARCH. o Renamed RTEMS_LIBIO_PERMS_READ in RTEMS_FS_PERMS_READ. o Renamed RTEMS_LIBIO_PERMS_WRITE in RTEMS_FS_PERMS_WRITE. o Renamed RTEMS_LIBIO_PERMS_EXEC in RTEMS_FS_PERMS_EXEC. o Renamed RTEMS_LIBIO_FOLLOW_HARD_LINK in RTEMS_FS_FOLLOW_HARD_LINK. o Renamed RTEMS_LIBIO_FOLLOW_SYM_LINK in RTEMS_FS_FOLLOW_SYM_LINK. o Renamed RTEMS_LIBIO_MAKE in RTEMS_FS_MAKE. o Renamed RTEMS_LIBIO_EXCLUSIVE in RTEMS_FS_EXCLUSIVE. o Renamed RTEMS_LIBIO_ACCEPT_RESIDUAL_DELIMITERS in RTEMS_FS_ACCEPT_RESIDUAL_DELIMITERS. o Renamed RTEMS_LIBIO_REJECT_TERMINAL_DOT in RTEMS_FS_REJECT_TERMINAL_DOT.
Diffstat (limited to 'cpukit/libcsupport/src/mknod.c')
-rw-r--r--cpukit/libcsupport/src/mknod.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/mknod.c b/cpukit/libcsupport/src/mknod.c
index dae2b3bf98..a0e7523eec 100644
--- a/cpukit/libcsupport/src/mknod.c
+++ b/cpukit/libcsupport/src/mknod.c
@@ -59,10 +59,10 @@ int mknod( const char *path, mode_t mode, dev_t dev )
{
int rv = 0;
rtems_filesystem_eval_path_context_t ctx;
- int eval_flags = RTEMS_LIBIO_FOLLOW_LINK
- | RTEMS_LIBIO_MAKE
- | RTEMS_LIBIO_EXCLUSIVE
- | (S_ISDIR(mode) ? RTEMS_LIBIO_ACCEPT_RESIDUAL_DELIMITERS : 0);
+ int eval_flags = RTEMS_FS_FOLLOW_LINK
+ | RTEMS_FS_MAKE
+ | RTEMS_FS_EXCLUSIVE
+ | (S_ISDIR(mode) ? RTEMS_FS_ACCEPT_RESIDUAL_DELIMITERS : 0);
const rtems_filesystem_location_info_t *currentloc =
rtems_filesystem_eval_path_start( &ctx, path, eval_flags );