summaryrefslogtreecommitdiff
path: root/src/cgtop
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-06-06 15:49:01 +0200
committerLennart Poettering <lennart@poettering.net>2013-06-06 15:49:01 +0200
commitb043cd0b7e0e6567d9ce01bf1905337631fe0fc0 (patch)
treed1163e0a340f1555e1f71ee7dcd929ba39f8777f /src/cgtop
parent3d585edbb14b9705c80183aeb16dfd0a28df0ac9 (diff)
cgroup: the "tasks" attribute is obsolete, cgroup.procs is the new replacement
Diffstat (limited to 'src/cgtop')
-rw-r--r--src/cgtop/cgtop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c
index 1e21b0074d..fb523a3e6c 100644
--- a/src/cgtop/cgtop.c
+++ b/src/cgtop/cgtop.c
@@ -134,7 +134,7 @@ static int process(const char *controller, const char *path, Hashmap *a, Hashmap
/* Regardless which controller, let's find the maximum number
* of processes in any of it */
- r = cg_enumerate_tasks(controller, path, &f);
+ r = cg_enumerate_processes(controller, path, &f);
if (r < 0)
return r;