summaryrefslogtreecommitdiff
path: root/misc/e2image.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/e2image.c')
-rw-r--r--misc/e2image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/e2image.c b/misc/e2image.c
index 19963113..34b1e2c1 100644
--- a/misc/e2image.c
+++ b/misc/e2image.c
@@ -240,7 +240,7 @@ static void mark_table_blocks(ext2_filsys fs)
*/
for (j = 0; j < fs->desc_blocks; j++) {
ext2fs_mark_block_bitmap(meta_block_map,
- block + j + 1);
+ ext2fs_descriptor_block_loc(fs, block, j));
}
for (i = 0; i < fs->group_desc_count; i++) {