From: Christian Brauner Date: Sat, 17 Feb 2018 18:24:39 +0000 (+0100) Subject: cgfsng: cg_unified_create_cgroup() X-Git-Tag: lxc-3.0.0.beta1~22^2~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=389d44ec9fbd0c0f7987c2ecbb94203e784d240e;p=thirdparty%2Flxc.git cgfsng: cg_unified_create_cgroup() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index 4cbd5c5c8..bedaeb33d 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -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;