summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/bitmap.c b/src/lib/bitmap.c
index cb414e7f..3aaa422c 100644
--- a/src/lib/bitmap.c
+++ b/src/lib/bitmap.c
@@ -187,7 +187,7 @@ int rbmp_release(struct rbmp * b,
rid = id - b->offset;
- bitmap_clear(b->bitmap, id);
+ bitmap_clear(b->bitmap, rid);
return 0;
}