summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-05 13:38:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-05 13:38:49 +0000
commit5d2aacc2a9e46f4c3a507d14b08bb81be65a5628 (patch)
tree6a8a662556f4377ba0cf6c186e0ce98ed43187d0 /cpukit
parent2011-04-05 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-5d2aacc2a9e46f4c3a507d14b08bb81be65a5628.tar.bz2
2011-04-05 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1701/filesystems * libfs/src/imfs/memfile.c: Fix sense of assert.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libfs/src/imfs/memfile.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 1521d3a4fc..044c0ee218 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-05 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1701/filesystems
+ * libfs/src/imfs/memfile.c: Fix sense of assert.
+
2011-04-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/src/heap.c: Avoid integer overflow.
diff --git a/cpukit/libfs/src/imfs/memfile.c b/cpukit/libfs/src/imfs/memfile.c
index 98616d1b36..56722a186c 100644
--- a/cpukit/libfs/src/imfs/memfile.c
+++ b/cpukit/libfs/src/imfs/memfile.c
@@ -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 );
/*