]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgfsng: cg_unified_create_cgroup()
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 17 Feb 2018 18:24:39 +0000 (19:24 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 17 Feb 2018 18:24:39 +0000 (19:24 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index 4cbd5c5c82ff2e2e2a83c4dc2a49b23ee8f947a4..bedaeb33d616ac11159cebf39e7c6e55bd988296 100644 (file)
@@ -1667,8 +1667,8 @@ struct cgroup_ops *cgfsng_ops_init(void)
 
 static bool cg_unified_create_cgroup(struct hierarchy *h, char *cgname)
 {
-       char **it;
        size_t i, parts_len;
+       char **it;
        size_t full_len = 0;
        char *add_controllers = NULL, *cgroup = NULL;
        char **parts = NULL;