From 856ede4f91a76a1a681ceac24ddb18d3a438dffb Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 13 Sep 2017 10:11:46 +0200 Subject: libio: Add iop set/clear flags Update #3132. --- cpukit/libfs/src/pipe/pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libfs/src/pipe/pipe.c') diff --git a/cpukit/libfs/src/pipe/pipe.c b/cpukit/libfs/src/pipe/pipe.c index e46e8f58e7..8693bd489e 100644 --- a/cpukit/libfs/src/pipe/pipe.c +++ b/cpukit/libfs/src/pipe/pipe.c @@ -64,7 +64,7 @@ int pipe_create( else { /* Reset open file to blocking mode */ iop = rtems_libio_iop(filsdes[0]); - iop->flags &= ~LIBIO_FLAGS_NO_DELAY; + rtems_libio_iop_flags_clear( iop, LIBIO_FLAGS_NO_DELAY ); filsdes[1] = open(fifopath, O_WRONLY); -- cgit v1.2.3