Signed-off-by: Ferenc Wagner <[email protected]>
---
src/lxc/conf.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index 6d9b6b0..4d0223e 100644
--- a/src/lxc/conf.c
+++ b/src/lxc/conf.c
@@ -468,7 +468,7 @@ static int setup_rootfs_pivot_root(const char *rootfs,
const char *pivotdir)
/* change into new root fs */
if (chdir(rootfs)) {
- SYSERROR("can't chroot to new rootfs '%s'", rootfs);
+ SYSERROR("can't chdir to new rootfs '%s'", rootfs);
return -1;
}
@@ -499,7 +499,7 @@ static int setup_rootfs_pivot_root(const char *rootfs,
const char *pivotdir)
}
if (chdir("/")) {
- SYSERROR("can't chroot to / after pivot_root");
+ SYSERROR("can't chdir to / after pivot_root");
return -1;
}
--
1.6.5
------------------------------------------------------------------------------
_______________________________________________
Lxc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-devel