From: Christian Brauner Date: Tue, 1 Aug 2017 20:11:32 +0000 (+0200) Subject: conf: setup_mount_entries() X-Git-Tag: lxc-2.1.0~33^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19b5d7557baeb0483da26521f41ddb57b8dc8d78;p=thirdparty%2Flxc.git conf: setup_mount_entries() non-functional changes Signed-off-by: Christian Brauner --- diff --git a/src/lxc/conf.c b/src/lxc/conf.c index dd2b28cae..2ee050265 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -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; }