summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/imfs/miniimfs_init.c
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2003-07-24 19:54:55 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2003-07-24 19:54:55 +0000
commit1e4d4f85d84a0553985dd6121bac2d7878ae3abf (patch)
tree7142061faea8474777a5349bee230e12d2c6698d /cpukit/libfs/src/imfs/miniimfs_init.c
parent129b4a792b980632ebfc24641538d533bf853e27 (diff)
downloadrtems-1e4d4f85d84a0553985dd6121bac2d7878ae3abf.tar.bz2
2003-07-24 jennifer averett <jennifer.averett@OARcorp.com>
PR 434/filesystem * src/imfs/imfs_init.c: Modified to return error code * src/imfs/miniimfs_init.c: Modified to return error code * src/imfs/imfs_initsup.c: Modified to set error upon memory failure.
Diffstat (limited to 'cpukit/libfs/src/imfs/miniimfs_init.c')
-rw-r--r--cpukit/libfs/src/imfs/miniimfs_init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/libfs/src/imfs/miniimfs_init.c b/cpukit/libfs/src/imfs/miniimfs_init.c
index 8ead84524e..2f45a5eec9 100644
--- a/cpukit/libfs/src/imfs/miniimfs_init.c
+++ b/cpukit/libfs/src/imfs/miniimfs_init.c
@@ -60,14 +60,13 @@ int miniIMFS_initialize(
rtems_filesystem_mount_table_entry_t *temp_mt_entry
)
{
- IMFS_initialize_support(
+ return IMFS_initialize_support(
temp_mt_entry,
&miniIMFS_ops,
&rtems_filesystem_null_handlers, /* for linearfiles */
&rtems_filesystem_null_handlers, /* for memfiles */
&rtems_filesystem_null_handlers /* for directories */
);
- return 0;
}