[lxc-devel] [PATCH 2/2] fix typos in error messages

Ferenc Wagner wferi at niif.hu
Wed May 12 17:04:50 UTC 2010


Signed-off-by: Ferenc Wagner <wferi at niif.hu>
---
 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





More information about the lxc-devel mailing list