All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] erofs-utils: dump: remove duplicate file type
@ 2022-11-20  4:06 Weizhao Ouyang
  2022-11-20 23:24 ` Gao Xiang
  0 siblings, 1 reply; 2+ messages in thread
From: Weizhao Ouyang @ 2022-11-20  4:06 UTC (permalink / raw)
  To: linux-erofs; +Cc: Weizhao Ouyang

Remove duplicate ".txt" file type distribution.

Signed-off-by: Weizhao Ouyang <o451686892@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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] erofs-utils: dump: remove duplicate file type
  2022-11-20  4:06 [PATCH] erofs-utils: dump: remove duplicate file type Weizhao Ouyang
@ 2022-11-20 23:24 ` Gao Xiang
  0 siblings, 0 replies; 2+ messages in thread
From: Gao Xiang @ 2022-11-20 23:24 UTC (permalink / raw)
  To: Weizhao Ouyang; +Cc: linux-erofs

On Sun, Nov 20, 2022 at 04:06:48AM +0000, Weizhao Ouyang wrote:
> Remove duplicate ".txt" file type distribution.
> 
> Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>

Thanks, applied.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-20 23:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-20  4:06 [PATCH] erofs-utils: dump: remove duplicate file type Weizhao Ouyang
2022-11-20 23:24 ` Gao Xiang

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.