2010-06-23 Chris Johns <chrisj@rtems.org>

PR 1577/filesystem
        * libfs/src/pipe/fifo.c: Fixed the error codes returned on open.
This commit is contained in:
Chris Johns
2010-06-23 05:01:46 +00:00
parent ac03a9b82f
commit 68b49f1955
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2010-06-23 Chris Johns <chrisj@rtems.org>
PR 1577/filesystem
* libfs/src/pipe/fifo.c: Fixed the error codes returned on open.
2010-06-23 Chris Johns <chrisj@rtems.org>
* rtems/Makefile.am: Remove the stray 'c' file.

View File

@@ -104,7 +104,6 @@ static int pipe_alloc(
if (! pipe->Buffer)
goto err_buf;
err = -EINTR;
if (rtems_barrier_create(
rtems_build_name ('P', 'I', 'r', c),
RTEMS_BARRIER_MANUAL_RELEASE, 0,
@@ -180,7 +179,7 @@ static rtems_status_code pipe_lock(void)
if (sc == RTEMS_SUCCESSFUL) {
return 0;
} else {
return -EINTR;
return -ENOMEM;
}
}