[rtems commit] libfs/imfs: Set the FIFO control block.

Chris Johns chrisj at rtems.org
Tue Dec 10 01:30:55 UTC 2013


Module:    rtems
Branch:    master
Commit:    b51d8a4996dda5ab0f1e8ca5cb50892e752413a6
Changeset: http://git.rtems.org/rtems/commit/?id=b51d8a4996dda5ab0f1e8ca5cb50892e752413a6

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Dec 10 12:30:20 2013 +1100

libfs/imfs: Set the FIFO control block.

The FIFO was incorrectly set to the default control block.

---

 cpukit/libfs/src/imfs/imfs_init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpukit/libfs/src/imfs/imfs_init.c b/cpukit/libfs/src/imfs/imfs_init.c
index fc45894..f640919 100644
--- a/cpukit/libfs/src/imfs/imfs_init.c
+++ b/cpukit/libfs/src/imfs/imfs_init.c
@@ -53,7 +53,7 @@ static const IMFS_node_control *const
   [IMFS_SYM_LINK] = &IMFS_node_control_sym_link,
   [IMFS_MEMORY_FILE] = &IMFS_node_control_memfile,
   [IMFS_LINEAR_FILE] = &IMFS_node_control_linfile,
-  [IMFS_FIFO] = &IMFS_node_control_default
+  [IMFS_FIFO] = &IMFS_node_control_fifo
 };
 
 int IMFS_initialize(




More information about the vc mailing list