All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pivot_root.2: tfix
@ 2019-09-25 15:58 Jakub Wilk
  2019-09-25 18:42 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Wilk @ 2019-09-25 15:58 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man

Remove duplicated words.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
---
 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");
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] pivot_root.2: tfix
  2019-09-25 15:58 [PATCH] pivot_root.2: tfix Jakub Wilk
@ 2019-09-25 18:42 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2019-09-25 18:42 UTC (permalink / raw)
  To: Jakub Wilk; +Cc: mtk.manpages, linux-man

Hello Jakub,

On 9/25/19 5:58 PM, Jakub Wilk wrote:
> Remove duplicated words.

Thanks. Patch applied.

Cheers,

Michael

> Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
> ---
>  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");
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-25 18:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-25 15:58 [PATCH] pivot_root.2: tfix Jakub Wilk
2019-09-25 18:42 ` Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.