summaryrefslogtreecommitdiff
path: root/cmd_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd_debug.c')
-rw-r--r--cmd_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd_debug.c b/cmd_debug.c
index b1bdda8c..1a2c1dbd 100644
--- a/cmd_debug.c
+++ b/cmd_debug.c
@@ -293,11 +293,11 @@ int cmd_list(int argc, char *argv[])
list_modes, "list mode");
break;
case 'f':
- opts.fix_errors = FSCK_ERR_YES;
- opts.norecovery = false;
+ opt_set(opts, fix_errors, FSCK_OPT_YES);
+ opt_set(opts, norecovery, false);
break;
case 'v':
- opts.verbose_recovery = true;
+ opt_set(opts, verbose_recovery, true);
break;
case 'h':
list_keys_usage();