[PATCH] erofs-utils: dump: remove duplicate file type

Weizhao Ouyang o451686892 at gmail.com
Sun Nov 20 15:06:48 AEDT 2022


Remove duplicate ".txt" file type distribution.

Signed-off-by: Weizhao Ouyang <o451686892 at gmail.com>
---
 dump/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dump/main.c b/dump/main.c
index f2a09b6..93dce8b 100644
--- a/dump/main.c
+++ b/dump/main.c
@@ -37,7 +37,7 @@ static const char header_format[] = "%-16s %11s %16s |%-50s|\n";
 static char *file_types[] = {
 	".txt", ".so", ".xml", ".apk",
 	".odex", ".vdex", ".oat", ".rc",
-	".otf", ".txt", "others",
+	".otf", "others",
 };
 #define OTHERFILETYPE	ARRAY_SIZE(file_types)
 /* (1 << FILE_MAX_SIZE_BITS)KB */
-- 
2.37.2



More information about the Linux-erofs mailing list