Skip to content

Commit

Permalink
conf: initialize pflags
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Mar 15, 2018
1 parent 0fd7309 commit 949d033
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lxc/conf.c
Expand Up @@ -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;
Expand Down

0 comments on commit 949d033

Please sign in to comment.