Skip to content

Commit

Permalink
lxccontainer: use correct variable ordering
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Feb 26, 2021
1 parent e0f5c4e commit 562c20d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lxc/lxccontainer.c
Expand Up @@ -3296,9 +3296,8 @@ WRAP_API_2(bool, lxcapi_set_cgroup_item, const char *, const char *)

static int do_lxcapi_get_cgroup_item(struct lxc_container *c, const char *subsys, char *retv, int inlen)
{
int ret;

call_cleaner(cgroup_exit) struct cgroup_ops *cgroup_ops = NULL;
int ret;

if (!c)
return -1;
Expand Down

0 comments on commit 562c20d

Please sign in to comment.