diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-13 10:35:45 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-15 10:27:12 +0200 |
commit | a937a5a5347cf945fe7eff17eccd97cc849a5349 (patch) | |
tree | 7eb9fbf30f59beef831d681afcb464b20fb76f7d /cpukit/libnetworking/lib/ftpfs.c | |
parent | libio: Add rtems_libio_iop_is_no_delay() (diff) | |
download | rtems-a937a5a5347cf945fe7eff17eccd97cc849a5349.tar.bz2 |
libio: Add rtems_libio_iop_is_readable()
Update #3132.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libnetworking/lib/ftpfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/lib/ftpfs.c b/cpukit/libnetworking/lib/ftpfs.c index 912ec82b39..deccddfa89 100644 --- a/cpukit/libnetworking/lib/ftpfs.c +++ b/cpukit/libnetworking/lib/ftpfs.c @@ -1037,7 +1037,7 @@ static int rtems_ftpfs_open( /* Check for either read-only or write-only flags */ if ( (iop->flags & LIBIO_FLAGS_WRITE) != 0 - && (iop->flags & LIBIO_FLAGS_READ) != 0 + && rtems_libio_iop_is_readable(iop) ) { eno = ENOTSUP; } |