summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/open.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-13 10:11:46 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-15 07:48:03 +0200
commit856ede4f91a76a1a681ceac24ddb18d3a438dffb (patch)
tree969faa830fdcc9815a4335567e10b4f949e7e942 /cpukit/libcsupport/src/open.c
parentlibio: rtems_libio_check_permissions_with_error() (diff)
downloadrtems-856ede4f91a76a1a681ceac24ddb18d3a438dffb.tar.bz2
libio: Add iop set/clear flags
Update #3132.
Diffstat (limited to 'cpukit/libcsupport/src/open.c')
-rw-r--r--cpukit/libcsupport/src/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/open.c b/cpukit/libcsupport/src/open.c
index 62ce507284..2ee99f1f4c 100644
--- a/cpukit/libcsupport/src/open.c
+++ b/cpukit/libcsupport/src/open.c
@@ -96,7 +96,7 @@ static int do_open(
}
}
- iop->flags |= rtems_libio_fcntl_flags( oflag );
+ rtems_libio_iop_flags_set( iop, rtems_libio_fcntl_flags( oflag ) );
rtems_filesystem_eval_path_extract_currentloc( &ctx, &iop->pathinfo );
rtems_filesystem_eval_path_cleanup( &ctx );