+2001-11-30 Theodore Tso <tytso@valinux.com>
+
+ * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
+ 2GB support changes: you need to use %lld when printf'ing
+ an long long variable.
+
2001-11-24 Theodore Tso <tytso@valinux.com>
* debugfs.8.in: Update manual page to document the set_super_value
else
fprintf(lb->f, ", ");
if (lb->first_block == lb->last_block)
- fprintf(lb->f, "(%d):%d", lb->first_bcnt, lb->first_block);
+ fprintf(lb->f, "(%lld):%d", lb->first_bcnt, lb->first_block);
else
- fprintf(lb->f, "(%d-%d):%d-%d", lb->first_bcnt,
+ fprintf(lb->f, "(%lld-%lld):%d-%d", lb->first_bcnt,
lb->last_bcnt, lb->first_block, lb->last_block);
lb->first_block = 0;
}
list_blocks_proc, (void *)&lb);
finish_range(&lb);
if (lb.total)
- fprintf(f, "\n%sTOTAL: %d\n", prefix, lb.total);
+ fprintf(f, "\n%sTOTAL: %lld\n", prefix, lb.total);
fprintf(f,"\n");
}