summaryrefslogtreecommitdiffstats
path: root/cpukit
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
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')
-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 8eb7c5040f..4f6f247f8f 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,11 @@
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.
+
+2011-03-14 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.