From b043cd0b7e0e6567d9ce01bf1905337631fe0fc0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 6 Jun 2013 15:49:01 +0200 Subject: cgroup: the "tasks" attribute is obsolete, cgroup.procs is the new replacement --- src/cgtop/cgtop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cgtop') 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; -- cgit v1.2.3-54-g00ecf