Re: [PATCH] pivot_root.2: tfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> ---
>  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/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux