[PATCH] build system: prevent breakage by over-zealous CFLAGS
Denys Vlasenko
vda.linux at googlemail.com
Thu Feb 18 12:46:35 UTC 2021
I fixed that, but then ash.c also throws a similar error, so fixed that as well.
Thank you.
On Sun, Feb 14, 2021 at 9:38 AM Ron Yorston <rmy at pobox.com> wrote:
>
> A user reports that the use of "-Werror=format-security" in
> HOSTCFLAGS prevents usage_pod from building.
>
> Signed-off-by: Ron Yorston <rmy at pobox.com>
> ---
> applets/usage_pod.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/applets/usage_pod.c b/applets/usage_pod.c
> index ccc166aed..9e6d3f0ee 100644
> --- 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");
> --
> 2.29.2
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
More information about the busybox
mailing list