summaryrefslogtreecommitdiffstats
path: root/src/tools/cgexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cgexec.c')
-rw-r--r--src/tools/cgexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/cgexec.c b/src/tools/cgexec.c
index 2c92964..6fec85a 100644
--- a/src/tools/cgexec.c
+++ b/src/tools/cgexec.c
@@ -123,7 +123,7 @@ int main(int argc, char *argv[])
ret = cgroup_change_cgroup_path(cgroup_list[i]->path,
pid,
- cgroup_list[i]->controllers);
+ (const char*const*) cgroup_list[i]->controllers);
if (ret) {
fprintf(stderr,
"cgroup change of group failed\n");