Re: [PATCH bpf-next] libbpf: fix pr_warn type warnings on 32bit

From: Yonghong Song
Date: Fri Jun 04 2021 - 11:30:26 EST




On 6/4/21 4:24 AM, Michal Suchanek wrote:
The printed value is ptrdiff_t and is formatted wiht %ld. This works on
64bit but produces a warning on 32bit. Fix the format specifier to %td.

Fixes: 67234743736a ("libbpf: Generate loader program out of BPF ELF file.")
Signed-off-by: Michal Suchanek <msuchanek@xxxxxxx>

Acked-by: Yonghong Song <yhs@xxxxxx>