lxc: bump to 2.1.0
[feed/packages.git] / utils / lxc / patches / 001-compile.patch
1 --- a/src/lxc/storage/overlay.c
2 +++ b/src/lxc/storage/overlay.c
3 @@ -747,7 +747,7 @@ int ovl_mkdir(const struct mntent *mntent, const struct lxc_rootfs *rootfs,
4 char lxcpath[MAXPATHLEN];
5 char **opts;
6 int ret;
7 - size_t arrlen, dirlen, i, len, rootfslen;
8 + size_t arrlen, i, len, rootfslen, dirlen = 0;
9 int fret = -1;
10 char *rootfs_dir = NULL, *rootfs_path = NULL, *upperdir = NULL,
11 *workdir = NULL;