summaryrefslogtreecommitdiff
path: root/misc/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/util.c')
-rw-r--r--misc/util.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/util.c b/misc/util.c
index 51bdb60f..f3ee2bb9 100644
--- a/misc/util.c
+++ b/misc/util.c
@@ -282,12 +282,11 @@ unsigned int figure_journal_size(int size, ext2_filsys fs)
return j_blocks;
}
-void print_check_message(ext2_filsys fs)
+void print_check_message(unsigned int mnt, unsigned int check)
{
printf(_("This filesystem will be automatically "
"checked every %d mounts or\n"
"%g days, whichever comes first. "
"Use tune2fs -c or -i to override.\n"),
- fs->super->s_max_mnt_count,
- (double)fs->super->s_checkinterval / (3600 * 24));
+ mnt, ((double) check) / (3600 * 24));
}