2011-04-05 Joel Sherrill <joel.sherrilL@OARcorp.com>

PR 1701/filesystems
	* libfs/src/imfs/memfile.c: Fix sense of assert.
This commit is contained in:
Joel Sherrill
2011-04-05 13:38:49 +00:00
parent 6503ac9b00
commit 5d2aacc2a9
2 changed files with 6 additions and 1 deletions

View File

@@ -547,7 +547,7 @@ MEMFILE_STATIC ssize_t IMFS_memfile_read(
*/
IMFS_assert( the_jnode );
IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE ||
the_jnode->type != IMFS_LINEAR_FILE );
the_jnode->type == IMFS_LINEAR_FILE );
IMFS_assert( dest );
/*