From bf421740d40ca79e166a7352e52e42304d1da6d2 Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Wed, 25 Sep 2019 17:58:46 +0200 Subject: [PATCH] pivot_root.2: tfix Remove duplicated words. Signed-off-by: Jakub Wilk Signed-off-by: Michael Kerrisk --- man2/pivot_root.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man2/pivot_root.2 b/man2/pivot_root.2 index 98609ce68..36dafc0b4 100644 --- a/man2/pivot_root.2 +++ b/man2/pivot_root.2 @@ -121,7 +121,7 @@ Additionally, it may fail with the following errors: .\" itself. Of course, this is an odd situation, since a later check .\" in the kernel code will in any case yield EINVAL if 'new_root' is .\" not a mount point. However, when the system call was first added, -.\" 'new_root' was not required to be a mount point. So, this this +.\" 'new_root' was not required to be a mount point. So, this .\" error is nowadays probably just the result of crufty accumulation. .\" This error can also occur if we bind mount "/" on top of itself .\" and try to specify "/" as the 'new' (again, an odd situation). So, @@ -357,7 +357,7 @@ child(void *arg) if (pivot_root(new_root, path) == \-1) errExit("pivot_root"); - /* Switch the current working working directory to "/" */ + /* Switch the current working directory to "/" */ if (chdir("/") == \-1) errExit("chdir");