forked from Imagelibrary/rtems
2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libfs/src/imfs/memfile.c: Fix assert.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
* libfs/src/imfs/memfile.c: Fix assert.
|
||||
|
||||
2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
* libcsupport/src/read.c, libcsupport/src/write.c: read(2) and write(2)
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user