diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-13 13:30:30 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-15 10:27:12 +0200 |
commit | e2b1db231196e0c395d0e19d9b35c0d7da2a5d3e (patch) | |
tree | fea75571834f5a92d667df159c9444ae9231d4e1 /cpukit/libfs | |
parent | libio: Add rtems_libio_iop_flags_initialize() (diff) | |
download | rtems-e2b1db231196e0c395d0e19d9b35c0d7da2a5d3e.tar.bz2 |
libio: Add rtems_libio_iop_flags()
Update #3132.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r-- | cpukit/libfs/src/pipe/fifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/pipe/fifo.c b/cpukit/libfs/src/pipe/fifo.c index 15fb0d58eb..78e02efc27 100644 --- a/cpukit/libfs/src/pipe/fifo.c +++ b/cpukit/libfs/src/pipe/fifo.c @@ -31,7 +31,7 @@ #include "pipe.h" -#define LIBIO_ACCMODE(_iop) ((_iop)->flags & LIBIO_FLAGS_READ_WRITE) +#define LIBIO_ACCMODE(_iop) (rtems_libio_iop_flags(_iop) & LIBIO_FLAGS_READ_WRITE) #define LIBIO_NODELAY(_iop) ((_iop)->flags & LIBIO_FLAGS_NO_DELAY) static rtems_id pipe_semaphore = RTEMS_ID_NONE; |