summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
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/libfs
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/libfs')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-block-pos.h2
1 files changed, 1 insertions, 1 deletions
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.