summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-24 22:01:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-24 22:01:49 +0000
commit4d32a76de07c6a5ae3e9a2b2180709bfe3c9567e (patch)
tree477e29cf498d449200770c35e709e73dfacdffc6 /cpukit/libfs
parent2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-4d32a76de07c6a5ae3e9a2b2180709bfe3c9567e.tar.bz2
2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libfs/src/imfs/memfile.c: Fix assert.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r--cpukit/libfs/src/imfs/memfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libfs/src/imfs/memfile.c b/cpukit/libfs/src/imfs/memfile.c
index a1193c8c88..61e949a7ef 100644
--- a/cpukit/libfs/src/imfs/memfile.c
+++ b/cpukit/libfs/src/imfs/memfile.c
@@ -596,6 +596,7 @@ MEMFILE_STATIC ssize_t IMFS_memfile_read(
#if defined(RTEMS_DEBUG)
assert( the_jnode );
assert( the_jnode->type == IMFS_MEMORY_FILE ||
+ the_jnode->type != IMFS_LINEAR_FILE );
assert( dest );
#endif
if ( !the_jnode )