Skip to contentSkip to conversation

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

PATCH New Eric Biggers 1 participant 1 message Sep 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fsck.f2fs: use clearer info message for -a option

From: Eric Biggers <[email protected]>

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.

---
 fsck/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fsck/main.c +1 -1
index 3690c74..dd8643c 100644
@@ -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

Signature · 8 lines
2.42.0



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel