semodule: Fix lang_ext column index
PATCH 1/1 semodule: Fix lang_ext column index
lang_ext is 3. column - index number 2.
Signed-off-by Petr Lautrbach <[email protected]>
--- policycoreutils/semodule/semodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
policycoreutils/semodule/semodule.c +1 -1
@@ -684,7 +684,7 @@ cleanup_extract:if (result !=0 ) goto cleanup_list; size =strlen (tmp); -if (size > column[3 ]) column[3 ] = size; +if (size > column[2 ]) column[2 ] = size; }/* print out each module */
Signature · 1 line
2.33.1
Quoted 4 lines · Petr Lautrbach
lang_extis 3. column - index number 2.Signed-off-by Petr Lautrbach <[email protected]>
Acked-by James Carter <[email protected]>
Quoted 20 lines
--- policycoreutils/semodule/semodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)policycoreutils/semodule/semodule.c +1
-2@@ -684,7 +684,7 @@ cleanup_extract:if (result !=0 ) goto cleanup_list; size =strlen (tmp); -if (size > column[3 ]) column[3 ] = size; +if (size > column[2 ]) column[2 ] = size; }/* print out each module */ --2.33.1
Quoted 7 lines · James Carter
Quoted 4 lines · Petr Lautrbach
lang_extis 3. column - index number 2.Signed-off-by Petr Lautrbach <[email protected]>Acked-by James Carter <[email protected]>
Thanks.
It's merged now.
Quoted 21 lines
Quoted 21 lines
--- policycoreutils/semodule/semodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)policycoreutils/semodule/semodule.c +1
-2@@ -684,7 +684,7 @@ cleanup_extract:if (result !=0 ) goto cleanup_list; size =strlen (tmp); -if (size > column[3 ]) column[3 ] = size; +if (size > column[2 ]) column[2 ] = size; }/* print out each module */ --2.33.1