Re: [PATCH bpf] tools: bpftool: use correct argument in cgroup errors

2019-06-26 Thread Daniel Borkmann
On 06/25/2019 06:56 PM, Jakub Kicinski wrote: > cgroup code tries to use argv[0] as the cgroup path, > but if it fails uses argv[1] to report errors. > > Fixes: 5ccda64d38cc ("bpftool: implement cgroup bpf operations") > Signed-off-by: Jakub Kicinski > Reviewed-by: Quentin Monnet Applied, thank

Re: [PATCH bpf] tools: bpftool: use correct argument in cgroup errors

2019-06-25 Thread Roman Gushchin
On Tue, Jun 25, 2019 at 09:56:31AM -0700, Jakub Kicinski wrote: > cgroup code tries to use argv[0] as the cgroup path, > but if it fails uses argv[1] to report errors. > > Fixes: 5ccda64d38cc ("bpftool: implement cgroup bpf operations") > Signed-off-by: Jakub Kicinski > Reviewed-by: Quentin Monne

[PATCH bpf] tools: bpftool: use correct argument in cgroup errors

2019-06-25 Thread Jakub Kicinski
cgroup code tries to use argv[0] as the cgroup path, but if it fails uses argv[1] to report errors. Fixes: 5ccda64d38cc ("bpftool: implement cgroup bpf operations") Signed-off-by: Jakub Kicinski Reviewed-by: Quentin Monnet --- tools/bpf/bpftool/cgroup.c | 6 +++--- 1 file changed, 3 insertions(