summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-10-03 05:05:02 +0000
committerRoland McGrath <roland@gnu.org>1999-10-03 05:05:02 +0000
commit4a5464f7a32ec95ce6e2a9f488fff94d70698467 (patch)
tree0f625805a9bf0a0e30b802c0140a7c103eb61d53
parent51038fcecccdb2ef38a03bd8672d9f4024d22d23 (diff)
1999-10-03 Roland McGrath <roland@baalperazim.frob.com>
* bitmap.c (ffz): Don't subtract one (duh).
-rw-r--r--ext2fs/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/bitmap.c b/ext2fs/bitmap.c
index fb6d2ada..2f1dd2d1 100644
--- a/ext2fs/bitmap.c
+++ b/ext2fs/bitmap.c
@@ -18,7 +18,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-#define ffz(word) (ffs (~(word)) - 1)
+#define ffz(word) (ffs (~(word)))
/*
* linux/fs/ext2/bitmap.c (&c)