Skip to content

Commit

Permalink
conf: setup_mount_entries()
Browse files Browse the repository at this point in the history
non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner authored and stgraber committed Aug 15, 2017
1 parent c7568ba commit d95ea05
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lxc/conf.c
Expand Up @@ -2044,16 +2044,16 @@ static int setup_mount_entries(const struct lxc_rootfs *rootfs,
struct lxc_list *mount, const char *lxc_name,
const char *lxc_path)
{
FILE *file;
FILE *f;
int ret;

file = make_anonymous_mount_file(mount);
if (!file)
f = make_anonymous_mount_file(mount);
if (!f)
return -1;

ret = mount_file_entries(rootfs, file, lxc_name, lxc_path);
ret = mount_file_entries(rootfs, f, lxc_name, lxc_path);

fclose(file);
fclose(f);
return ret;
}

Expand Down

0 comments on commit d95ea05

Please sign in to comment.