summaryrefslogtreecommitdiff
path: root/c_src
diff options
context:
space:
mode:
Diffstat (limited to 'c_src')
-rw-r--r--c_src/cmd_fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_src/cmd_fsck.c b/c_src/cmd_fsck.c
index de46963a..cf1ecc62 100644
--- a/c_src/cmd_fsck.c
+++ b/c_src/cmd_fsck.c
@@ -223,10 +223,10 @@ int cmd_fsck(int argc, char *argv[])
longopts, NULL)) != -1)
switch (opt) {
case 'a':
+ case 'p':
/* "automatic" run, called by the system, for us to do checks as needed.
* we don't need checks here: */
exit(EXIT_SUCCESS);
- case 'p':
case 'y':
append_opt(&opts_str, "fix_errors=yes");
break;