]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
conf: setup_mount_entries()
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 1 Aug 2017 20:11:32 +0000 (22:11 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 1 Aug 2017 20:11:32 +0000 (22:11 +0200)
non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c

index dd2b28caebe29969143feb1c3d264237b0bf6da4..2ee050265dad5850b3a3e250b7862e9b3a6249de 100644 (file)
@@ -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;
 }