summaryrefslogtreecommitdiffstats
path: root/include/libcgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcgroup.h')
-rw-r--r--include/libcgroup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcgroup.h b/include/libcgroup.h
index 149a560..dd87c63 100644
--- a/include/libcgroup.h
+++ b/include/libcgroup.h
@@ -301,7 +301,7 @@ int cgroup_get_task_begin(char *cgroup, char *controller, void **handle,
*
* return ECGEOF when the iterator finishes getting the list of tasks.
*/
-int cgroup_get_task_next(void *handle, pid_t *pid);
+int cgroup_get_task_next(void **handle, pid_t *pid);
int cgroup_get_task_end(void **handle);
/* The wrappers for filling libcg structures */