提交 1133404c 编写于 作者: R Richard Weinberger 提交者: Michal Privoznik

LXC: s/chroot/chdir in lxcContainerPivotRoot()

...fixes a trivial copy&paste error.
Signed-off-by: NRichard Weinberger <richard@nod.at>
上级 7710d236
......@@ -629,11 +629,11 @@ static int lxcContainerPivotRoot(virDomainFSDefPtr root)
}
}
/* Now we chroot into the tmpfs, then pivot into the
/* Now we chdir into the tmpfs, then pivot into the
* root->src bind-mounted onto '/new' */
if (chdir(newroot) < 0) {
virReportSystemError(errno,
_("Failed to chroot into %s"), newroot);
_("Failed to chdir into %s"), newroot);
goto err;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册