]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
fix typos in error messages
authorFerenc Wagner <wferi@niif.hu>
Wed, 12 May 2010 21:47:55 +0000 (23:47 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 12 May 2010 21:47:55 +0000 (23:47 +0200)
Signed-off-by: Ferenc Wagner <wferi@niif.hu>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/conf.c

index 39aa982024f39c55a6c3ceb27f3defe80bfaf3e2..2c9bc4e1d43df085c9699c09486e0fc31e832797 100644 (file)
@@ -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;
        }