]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cgroup-util: actually use the path callback 288/head
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 18 Jun 2015 15:21:21 +0000 (17:21 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 18 Jun 2015 15:39:34 +0000 (17:39 +0200)
We allow to specify a callback but then ignore the result. Looks like a trivial typo.
From 7b3fd6313c4b07b6f822a9f979d0c22350a401d9#diff-f010fa21ba7b659b519c122743e55604

src/basic/cgroup-util.c

index 66857f118f7501b42a01dab7859277893693ec32..439c5516dc2cbfb2206c488dc123e3af4714a15e 100644 (file)
@@ -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;