aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <[email protected]>2019-12-19 10:02:36 +0100
committerDaniel Borkmann <[email protected]>2019-12-19 16:25:52 +0100
commitb5c7d0d0f7d4a30ae96c1350df677cb849060b7c (patch)
tree975c0b1f3f3994d6d75065840ba80c6f52456efe /tools/perf/scripts/python
parent580205dd4fe800b1e95be8b6df9e2991f975a8ad (diff)
libbpf: Fix printing of ulimit value
Naresh pointed out that libbpf builds fail on 32-bit architectures because rlimit.rlim_cur is defined as 'unsigned long long' on those architectures. Fix this by using %zu in printf and casting to size_t. Fixes: dc3a2d254782 ("libbpf: Print hint about ulimit when getting permission denied error") Reported-by: Naresh Kamboju <[email protected]> Signed-off-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions