]> git.proxmox.com Git - mirror_lxc.git/commitdiff
conf: initialize pflags
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 11 Mar 2018 10:33:30 +0000 (11:33 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 15 Mar 2018 16:30:57 +0000 (17:30 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c

index 1a2278042ab80083b89301338c9dc4acf7db782f..9f80af3316a19d62410cb3d6f70dda1c78824aa0 100644 (file)
@@ -2100,9 +2100,10 @@ static inline int mount_entry_on_generic(struct mntent *mntent,
                                         const char *lxc_path)
 {
        int ret;
-       unsigned long mntflags, pflags;
+       unsigned long mntflags;
        char *mntdata;
        bool dev, optional, relative;
+       unsigned long pflags = 0;
        char *rootfs_path = NULL;
 
        optional = hasmntopt(mntent, "optional") != NULL;