summaryrefslogtreecommitdiff
path: root/e2fsck/super.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-10-03 23:17:45 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-10-03 23:17:45 -0400
commit61a9d2b33e5c7afa4f03d6cc0ed4d81b2caf7023 (patch)
tree67d76cf359ec7b78c7a66ea1f888c0ad95808917 /e2fsck/super.c
parent7822f784f1edf767cc74044e02702a6d44cee267 (diff)
downloade2fsprogs-61a9d2b33e5c7afa4f03d6cc0ed4d81b2caf7023.tar.gz
e2fsck: Use the correct problem code in the case of LAST_WRITE_FUDGED
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'e2fsck/super.c')
-rw-r--r--e2fsck/super.c2
1 files changed, 1 insertions, 1 deletions
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);