Skip to content

Commit

Permalink
coverity: #1435208
Browse files Browse the repository at this point in the history
Unused value

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Aug 23, 2018
1 parent a8558cd commit b2f287b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lxc/cgroups/cgfsng.c
Expand Up @@ -2005,7 +2005,8 @@ static int cg_legacy_mount_controllers(int type, struct hierarchy *h,
controllerpath,
flags | MS_REMOUNT);
ret = mount(controllerpath, controllerpath, "cgroup",
MS_REMOUNT | MS_BIND | MS_RDONLY, NULL);
remount_flags | MS_REMOUNT | MS_BIND | MS_RDONLY,
NULL);
if (ret < 0) {
SYSERROR("Failed to remount \"%s\" ro", controllerpath);
return -1;
Expand Down

0 comments on commit b2f287b

Please sign in to comment.