conf: setup_mount_entries()

non-functional changes Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 6bd04140
......@@ -2083,16 +2083,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;
}
......
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