From f6c010a7c209312bd8da21821b53365a6c8fec0c Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 14 Mar 2011 07:44:33 +0000 Subject: 2011-03-14 Chris Johns PR 1757/filesystem * libfs/src/rfs/rtems-rfs-block-pos.h: Fix the bug in equal compare. --- cpukit/ChangeLog | 6 ++++++ cpukit/libfs/src/rfs/rtems-rfs-block-pos.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 8eb7c5040f..4f6f247f8f 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2011-03-14 Chris Johns + + PR 1757/filesystem + * libfs/src/rfs/rtems-rfs-block-pos.h: Fix the bug in equal + compare. + 2011-03-14 Chris Johns PR 1763/shell 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. -- cgit v1.2.3