From: Richard Weinberger Date: Fri, 14 Jun 2013 06:57:55 +0000 (+0200) Subject: LXC: s/chroot/chdir in lxcContainerPivotRoot() X-Git-Tag: v1.1.0-rc1~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1133404c73134b36e259af6ff69719ea10f25f4a;p=thirdparty%2Flibvirt.git LXC: s/chroot/chdir in lxcContainerPivotRoot() ...fixes a trivial copy&paste error. Signed-off-by: Richard Weinberger --- diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c index 181f6c827e..f288c533a0 100644 --- a/src/lxc/lxc_container.c +++ b/src/lxc/lxc_container.c @@ -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; }