summaryrefslogtreecommitdiff
path: root/cmd_debug.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-12-21 18:00:30 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2017-12-21 18:06:45 -0500
commit1cf4d51dc4661f336f5318c176a3561ddf5bf04f (patch)
tree8b390ccd48361ba1408be6799d46e62c6382cc39 /cmd_debug.c
parent8acc54456e11ee0ec80ed0c6abb6d68abae60592 (diff)
Update bcachefs sources to 14ce2a2031 bcachefs: fixes for building in userspace
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();