Skip to content

Commit

Permalink
tools/capable: fix compilation error
Browse files Browse the repository at this point in the history
9d7feee ("tools: add option --unique to capable.py") introduced a
compilation error when the --unique flag is passed.

Signed-off-by: Mauricio Vásquez <mauricio@kinvolk.io>
  • Loading branch information
mauriciovasquezbernal authored and yonghong-song committed Mar 28, 2020
1 parent 1b0fe40 commit 9adda70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/capable.py
Expand Up @@ -193,7 +193,7 @@ def __getattr__(self, name):
struct repeat_t repeat = {0,};
repeat.cap = cap;
#if CGROUPSET
repeat.cgroupid = bpf_get_current_cgroup_id(),
repeat.cgroupid = bpf_get_current_cgroup_id();
#else
repeat.tgid = tgid;
#endif
Expand Down

0 comments on commit 9adda70

Please sign in to comment.