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

Gao Xiang xiang at kernel.org
Mon Nov 21 10:24:06 AEDT 2022


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


More information about the Linux-erofs mailing list