提交 fbc680a3 编写于 作者: G Gao feng 提交者: Michal Privoznik

LXC: Change incorrect error report in lxcContainerPivotRoot

The newroot is not mounted as tmpfs, we bind root->src to it.
Signed-off-by: NGao feng <gaofeng@cn.fujitsu.com>
上级 ef19b3e3
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册