Fix display bug when printing out the number of superblocks.
Suggested by Yann Dirson.
+1999-09-15 <tytso@rsts-11.mit.edu>
+
+ * mke2fs.c (show_stats): Fix display bug when printing out the
+ number of superblocks. Suggested by Yann Dirson.
+
1999-09-08 <tytso@valinux.com>
* partinfo.c: Fix minor compilation bugs pointed out by Yann
#include <string.h>
#include <fcntl.h>
#include <ctype.h>
-#include <termios.h>
#include <time.h>
#ifdef linux
#include <sys/utsname.h>
group_block += s->s_blocks_per_group;
if (!ext2fs_bg_has_super(fs, i))
continue;
+ if (i != 1)
+ printf(", ");
need = log10(group_block) + 2;
if (need > col_left) {
printf("\n\t");
}
col_left -= need;
printf("%u", group_block);
- if (i != fs->group_desc_count - 1)
- printf(", ");
}
printf("\n\n");
}