summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-06-18 17:21:21 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-06-18 17:39:34 +0200
commitedf5b3b8693a4bbc69d9bfae6a3d4f1b612d3e32 (patch)
treec1364160addb8f1aeb0b7c0847982a6ded89052c /src/basic
parent0aee49d5fba2b2ec94e5c069d937004858a04b4f (diff)
cgroup-util: actually use the path callback
We allow to specify a callback but then ignore the result. Looks like a trivial typo. From 7b3fd6313c4b07b6f822a9f979d0c22350a401d9#diff-f010fa21ba7b659b519c122743e55604
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/cgroup-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c
index 66857f118f..439c5516dc 100644
--- a/src/basic/cgroup-util.c
+++ b/src/basic/cgroup-util.c
@@ -1776,7 +1776,7 @@ int cg_attach_everywhere(CGroupControllerMask supported, const char *path, pid_t
if (!p)
p = path;
- cg_attach_fallback(n, path, pid);
+ cg_attach_fallback(n, p, pid);
}
bit <<= 1;