From 949d0338c6b93814f02c1ddbe87071b18aba94fa Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Sun, 11 Mar 2018 11:33:30 +0100 Subject: [PATCH] conf: initialize pflags Signed-off-by: Christian Brauner --- src/lxc/conf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 1a2278042..9f80af331 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -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;