summaryrefslogtreecommitdiff
path: root/src/cgls.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-25 04:58:16 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-25 04:58:24 +0200
commit77d5f105bf63330350c7bddacdeda914f945590f (patch)
tree3db8a21164833c8c0c48ffe6ee7820858d3d19b9 /src/cgls.c
parentee2083d5cacd8b6065b6a38d284f3e28961775a4 (diff)
cgroup: mount cgroup file systems to /sys/fs/cgroup instead of /cgroup
This requires the /sys/fs/cgroup to exist. Current git kernels have this, released kernels need a backport of a single patch.
Diffstat (limited to 'src/cgls.c')
-rw-r--r--src/cgls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgls.c b/src/cgls.c
index 2940e3724b..f1f3046edf 100644
--- a/src/cgls.c
+++ b/src/cgls.c
@@ -103,7 +103,7 @@ int main(int argc, char *argv[]) {
goto finish;
}
- if (path_startswith(p, "/cgroup")) {
+ if (path_startswith(p, "/sys/fs/cgroup")) {
printf("Working Directory %s:\n", p);
r = show_cgroup_by_path(p, NULL, 0);
} else