diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-06 12:51:59 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-06 12:57:07 +0200 |
commit | c75aa864cf614ec2cc82598eadef6067a7dbe3db (patch) | |
tree | 0d972f2631edfc539da367a621baa3b9be4e4988 /cpukit/libfs/src/pipe/fifo.c | |
parent | dosfs: Use proper semaphore attr for mutex (diff) | |
download | rtems-c75aa864cf614ec2cc82598eadef6067a7dbe3db.tar.bz2 |
pipe: Use proper semaphore attr for mutex
Close #2728.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libfs/src/pipe/fifo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/pipe/fifo.c b/cpukit/libfs/src/pipe/fifo.c index 76550ddd06..104ecb5d9d 100644 --- a/cpukit/libfs/src/pipe/fifo.c +++ b/cpukit/libfs/src/pipe/fifo.c @@ -97,8 +97,8 @@ static int pipe_alloc( goto err_wbar; if (rtems_semaphore_create( rtems_build_name ('P', 'I', 's', c), 1, - RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO, - RTEMS_NO_PRIORITY, &pipe->Semaphore) != RTEMS_SUCCESSFUL) + RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | RTEMS_INHERIT_PRIORITY, + 0, &pipe->Semaphore) != RTEMS_SUCCESSFUL) goto err_sem; *pipep = pipe; |