aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <dlezcano@fr.ibm.com>2011-03-14 21:47:15 +0100
committerDaniel Lezcano <dlezcano@fr.ibm.com>2011-03-14 21:47:52 +0100
commitc232d084125ee97ba3d22409bae9f1217e9dba9f (patch)
treebce64edb6ca93aa233555b17ea844e4a267d0c7f
parentlxc-0.7.4.1 (diff)
downloadlxc-0.7.4.1.tar.gz
lxc-0.7.4.1.tar.bz2
lxc-0.7.4.1.zip
fix mount pathlxc-0.7.4.1
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
-rw-r--r--src/lxc/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index 60f9188..f73eaac 100644
--- a/src/lxc/conf.c
+++ b/src/lxc/conf.c
@@ -979,7 +979,7 @@ static int mount_entry_on_absolute_rootfs(struct mntent *mntent,
goto out;
}
- snprintf(path, MAXPATHLEN, "%s%s", rootfs->mount,
+ snprintf(path, MAXPATHLEN, "%s/%s", rootfs->mount,
aux + strlen(rootfs->path));
ret = mount_entry(mntent->mnt_fsname, path, mntent->mnt_type,