LXC: s/chroot/chdir in lxcContainerPivotRoot()

...fixes a trivial copy&paste error.

Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
Richard Weinberger 2013-06-14 08:57:55 +02:00 committed by Michal Privoznik
parent 7710d236b2
commit 1133404c73

View File

@ -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;
}