summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2011-03-15 05:14:39 +0000
committerChris Johns <chrisj@rtems.org>2011-03-15 05:14:39 +0000
commitecfeb16b4236002fbc95092d02f2efefb11b6a46 (patch)
tree20d4deb57ca56f75e6fc164150dcb6e79ef9fe23 /cpukit
parent2011-03-15 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-ecfeb16b4236002fbc95092d02f2efefb11b6a46.tar.bz2
2011-03-15 Chris Johns <chrisj@rtems.org>
PR 1757/filesystem * libfs/src/rfs/rtems-rfs-block-pos.h: Fix the bug in equal compare.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-block-pos.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 4a97eb1408..9ad3604ebb 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,11 @@
2011-03-15 Chris Johns <chrisj@rtems.org>
+ PR 1757/filesystem
+ * libfs/src/rfs/rtems-rfs-block-pos.h: Fix the bug in equal
+ compare.
+
+2011-03-15 Chris Johns <chrisj@rtems.org>
+
PR 1763/shell
* libmisc/shell/hexdump-conv.c: Remove debug hacks.
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-block-pos.h b/cpukit/libfs/src/rfs/rtems-rfs-block-pos.h
index 7f9955ae61..b15f0ba113 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-block-pos.h
+++ b/cpukit/libfs/src/rfs/rtems-rfs-block-pos.h
@@ -196,7 +196,7 @@ typedef struct rtems_rfs_block_size_s
* Do the sizes match ?
*/
#define rtems_rfs_block_size_equal(_lhs, _rhs) \
- (((_lhs)->count == (_rhs)->count) && ((_lhs)->offset == (_rhs)->count))
+ (((_lhs)->count == (_rhs)->count) && ((_lhs)->offset == (_rhs)->offset))
/**
* Zero a block size.