summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2011-03-14 07:44:33 +0000
committerChris Johns <chrisj@rtems.org>2011-03-14 07:44:33 +0000
commitf6c010a7c209312bd8da21821b53365a6c8fec0c (patch)
treec9659227f433f85af2ee51c3cfc7bd3917e3f721 /cpukit/libfs
parent2011-03-14 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-f6c010a7c209312bd8da21821b53365a6c8fec0c.tar.bz2
2011-03-14 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.