[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] build system: prevent breakage by over-zealous CFLAGS
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2021-02-18 12:46:35
Message-ID: CAK1hOcMZdptB1N=059ybTEoV=OgQzHZ3kVGpdnL608j45-+DFA () mail ! gmail ! com
[Download RAW message or body]

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