[PATCH 2/2] procd: fix wrong format for 32-bit

Rosen Penev rosenp at gmail.com
Mon Jul 20 18:55:14 EDT 2020


On Mon, Jul 20, 2020 at 3:35 PM Rosen Penev <rosenp at gmail.com> wrote:
>
> The proper format is %zu .
>
> Signed-off-by: Rosen Penev <rosenp at gmail.com>
https://downloads.openwrt.org/snapshots/faillogs/powerpc_464fp/base/procd/compile.txt
> ---
>  jail/jail.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/jail/jail.c b/jail/jail.c
> index 5a6802f..90de411 100644
> --- a/jail/jail.c
> +++ b/jail/jail.c
> @@ -1366,7 +1366,7 @@ static int parseOCIprocessuser(struct blob_attr *msg) {
>                         }
>                         opts.num_additional_gids = gidcnt;
>                 }
> -               DEBUG("read %lu additional groups\n", gidcnt);
> +               DEBUG("read %zu additional groups\n", gidcnt);
>         }
>
>         if (tb[OCI_PROCESS_USER_UMASK]) {
> --
> 2.26.2
>



More information about the openwrt-devel mailing list