Linux-man Archive on lore.kernel.org
 help / color / 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	[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, back to index

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)

Linux-man Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-man/0 linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ https://lore.kernel.org/linux-man \
		linux-man@vger.kernel.org
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-man


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git