From: Gao feng Date: Fri, 22 Nov 2013 07:11:07 +0000 (+0800) Subject: LXC: Change incorrect error report in lxcContainerPivotRoot X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=fbc680a318f30f91d0ec290c782e9f69e64b60da;p=libvirt.git LXC: Change incorrect error report in lxcContainerPivotRoot The newroot is not mounted as tmpfs, we bind root->src to it. Signed-off-by: Gao feng --- diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c index 51fa1b36fb..6a9f53a7d4 100644 --- a/src/lxc/lxc_container.c +++ b/src/lxc/lxc_container.c @@ -654,8 +654,8 @@ static int lxcContainerPivotRoot(virDomainFSDefPtr root) /* ... and mount our root onto it */ if (mount(root->src, newroot, NULL, MS_BIND|MS_REC, NULL) < 0) { virReportSystemError(errno, - _("Failed to bind new root %s into tmpfs"), - root->src); + _("Failed to bind %s to new root %s"), + root->src, newroot); goto err; }