Commit 9232212a by Ferenc Wagner Committed by Daniel Lezcano

fix typos in error messages

parent a91d897a
...@@ -468,7 +468,7 @@ static int setup_rootfs_pivot_root(const char *rootfs, const char *pivotdir) ...@@ -468,7 +468,7 @@ static int setup_rootfs_pivot_root(const char *rootfs, const char *pivotdir)
/* change into new root fs */ /* change into new root fs */
if (chdir(rootfs)) { if (chdir(rootfs)) {
SYSERROR("can't chroot to new rootfs '%s'", rootfs); SYSERROR("can't chdir to new rootfs '%s'", rootfs);
return -1; return -1;
} }
...@@ -499,7 +499,7 @@ static int setup_rootfs_pivot_root(const char *rootfs, const char *pivotdir) ...@@ -499,7 +499,7 @@ static int setup_rootfs_pivot_root(const char *rootfs, const char *pivotdir)
} }
if (chdir("/")) { if (chdir("/")) {
SYSERROR("can't chroot to / after pivot_root"); SYSERROR("can't chdir to / after pivot_root");
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment