diff mbox series

[f2fs-dev] fsck.f2fs: use clearer info message for -a option

Message ID 20230905003802.333176-1-ebiggers@kernel.org (mailing list archive)
State New
Headers show
Series [f2fs-dev] fsck.f2fs: use clearer info message for -a option | expand

Commit Message

Eric Biggers Sept. 5, 2023, 12:38 a.m. UTC
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(-)


base-commit: b15b6cc56ac7764be17acbdbf96448f388992adc
diff mbox series

Patch

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);