From 61a9d2b33e5c7afa4f03d6cc0ed4d81b2caf7023 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 3 Oct 2009 23:17:45 -0400 Subject: e2fsck: Use the correct problem code in the case of LAST_WRITE_FUDGED Signed-off-by: "Theodore Ts'o" --- e2fsck/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e2fsck/super.c') diff --git a/e2fsck/super.c b/e2fsck/super.c index 22029674..c946664b 100644 --- a/e2fsck/super.c +++ b/e2fsck/super.c @@ -833,7 +833,7 @@ void check_super_block(e2fsck_t ctx) pctx.num = fs->super->s_wtime; problem = PR_0_FUTURE_SB_LAST_WRITE; if (fs->super->s_wtime <= (__u32) ctx->now + ctx->time_fudge) - problem = PR_0_FUTURE_SB_LAST_MOUNT_FUDGED; + problem = PR_0_FUTURE_SB_LAST_WRITE_FUDGED; if (fix_problem(ctx, problem, &pctx)) { fs->super->s_wtime = ctx->now; ext2fs_mark_super_dirty(fs); -- cgit v1.2.3