summaryrefslogtreecommitdiff
path: root/cmd_fsck.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd_fsck.c')
-rw-r--r--cmd_fsck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd_fsck.c b/cmd_fsck.c
index 0954a83c..f7dcae98 100644
--- a/cmd_fsck.c
+++ b/cmd_fsck.c
@@ -97,11 +97,11 @@ int cmd_fsck(int argc, char *argv[])
exit(8);
}
- if (test_bit(BCH_FS_ERRORS_FIXED, &c->flags)) {
+ if (test_bit(BCH_FS_errors_fixed, &c->flags)) {
fprintf(stderr, "%s: errors fixed\n", c->name);
ret |= 1;
}
- if (test_bit(BCH_FS_ERROR, &c->flags)) {
+ if (test_bit(BCH_FS_error, &c->flags)) {
fprintf(stderr, "%s: still has errors\n", c->name);
ret |= 4;
}