Unverified Commit d95ea052 by Christian Brauner Committed by Stéphane Graber

conf: setup_mount_entries()

non-functional changes Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent c7568ba4
...@@ -2044,16 +2044,16 @@ static int setup_mount_entries(const struct lxc_rootfs *rootfs, ...@@ -2044,16 +2044,16 @@ static int setup_mount_entries(const struct lxc_rootfs *rootfs,
struct lxc_list *mount, const char *lxc_name, struct lxc_list *mount, const char *lxc_name,
const char *lxc_path) const char *lxc_path)
{ {
FILE *file; FILE *f;
int ret; int ret;
file = make_anonymous_mount_file(mount); f = make_anonymous_mount_file(mount);
if (!file) if (!f)
return -1; 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; return ret;
} }
......
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