Skip to content

Commit

Permalink
cgroups: correctly order variables
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 Jun 27, 2019
1 parent dfa835a commit f6b5466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/cgroups/cgfsng.c
Expand Up @@ -1715,10 +1715,10 @@ static int cg_legacy_mount_controllers(int type, struct hierarchy *h,
static int __cg_mount_direct(int type, struct hierarchy *h,
const char *controllerpath)
{
int ret;
__do_free char *controllers = NULL;
char *fstype = "cgroup2";
unsigned long flags = 0;
int ret;

flags |= MS_NOSUID;
flags |= MS_NOEXEC;
Expand Down

0 comments on commit f6b5466

Please sign in to comment.