[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: Issues with applets/usage_pod.c
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2021-02-15 11:36:35
Message-ID: CAK1hOcNCrUkmOnV8JBmcu_yemsK1+2MOg53Fv2e8aTbpCWZ=+g () mail ! gmail ! com
[Download RAW message or body]
--- 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 <c4droid@foxmail.com> 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
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic