diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index db4f81cb0e..a9f2333d76 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2010-06-24 Joel Sherrill + + * libfs/src/imfs/memfile.c: Fix assert. + 2010-06-24 Joel Sherrill * libcsupport/src/read.c, libcsupport/src/write.c: read(2) and write(2) 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 )