* [f2fs-dev] [PATCH] fsck.f2fs: use clearer info message for -a option
@ 2023-09-05 0:38 Eric Biggers
0 siblings, 0 replies; only message in thread
From: Eric Biggers @ 2023-09-05 0:38 UTC (permalink / raw)
To: linux-f2fs-devel
From: Eric Biggers <ebiggers@google.com>
The message "Info: Fix the reported corruption" makes people think that
fsck has detected filesystem corruption. Replace this message with
"Info: Automatic fix mode enabled" which is more accurate.
Signed-off-by: Eric Biggers <ebiggers@google.com>
---
fsck/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fsck/main.c b/fsck/main.c
index 3690c74..dd8643c 100644
--- a/fsck/main.c
+++ b/fsck/main.c
@@ -263,7 +263,7 @@ void f2fs_parse_options(int argc, char *argv[])
break;
case 'a':
c.auto_fix = 1;
- MSG(0, "Info: Fix the reported corruption.\n");
+ MSG(0, "Info: Automatic fix mode enabled.\n");
break;
case 'c':
c.cache_config.num_cache_entry = atoi(optarg);
base-commit: b15b6cc56ac7764be17acbdbf96448f388992adc
--
2.42.0
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-05 0:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-05 0:38 [f2fs-dev] [PATCH] fsck.f2fs: use clearer info message for -a option Eric Biggers
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.