On Thu, Apr 14, 2022 at 3:46 PM Alexander Lobakin <alobakin@xxxxx> wrote: > > There's a couple places where uin64_t is being passed as an %ld > format argument, which is incorrect (should be %lld). Fix them. It depends on architecture, on some it will be %lu, on some it will be %llu. But instead of PRIu64, just cast it to size_t and use %zu as formatter > > Fixes: 51570a5ab2b7 ("A Sample of using socket cookie and uid for traffic monitoring") > Fixes: 00f660eaf378 ("Sample program using SO_COOKIE") > Signed-off-by: Alexander Lobakin <alobakin@xxxxx> > --- > samples/bpf/cookie_uid_helper_example.c | 12 ++++++------ > samples/bpf/lwt_len_hist_user.c | 4 ++-- > 2 files changed, 8 insertions(+), 8 deletions(-) > [...]