cgroups: simple variable reordering

parent 5dc90afd
......@@ -3377,9 +3377,9 @@ static int __cgroup_attach_many(const struct lxc_conf *conf, const char *name,
{
call_cleaner(put_cgroup_ctx) struct cgroup_ctx *ctx = &(struct cgroup_ctx){};
int ret;
char pidstr[INTTYPE_TO_STRLEN(pid_t)];
size_t idx;
ssize_t pidstr_len;
char pidstr[INTTYPE_TO_STRLEN(pid_t)];
ret = lxc_cmd_get_cgroup_ctx(name, lxcpath, NULL, true,
sizeof(struct cgroup_ctx), ctx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment