--- a/applets/usage_pod.c
+++ b/applets/usage_pod.c
@@ -71,7 +71,7 @@ int main(void)
                } else {
                        printf(", ");
                }
-               printf(usage_array[i].aname);
+               printf("%s", usage_array[i].aname);
                col += len2;
        }
        printf("\n\n");

On Sun, Feb 14, 2021 at 7:35 AM c4droid <[email protected]> wrote:
>
> Greetings,
> I'm working on project depend on busybox, when I clone the repository and 
> copy the config to build, I got the compilation error for 
> applets/usage_pod.c. error detail:
> applets/usage_pod.c: In function 'main':
> applets/usage_pod.c:74:3: error: format not a string literal and no format 
> arguments [-Werror=format-security]
>     74 |   printf(usage_array[I].aname);
>          |   ^~~~~~
> Have some fix or workaround can let compilation pass?
> _______________________________________________
> busybox mailing list
> [email protected]
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to