Re: [PATCH] semget.2, shm_open.3: tfix

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

 



On 1/24/21 4:10 PM, Alejandro Colomar wrote:
> From: Jakub Wilk <jwilk@xxxxxxxxx>
> 
> Signed-off-by: Jakub Wilk <jwilk@xxxxxxxxx>
> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>


Thanks, Alex. Patch applied.

Cheers,

Michael


> ---
>  man2/semget.2   | 2 +-
>  man3/shm_open.3 | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man2/semget.2 b/man2/semget.2
> index 9276a1820..17bad6ca9 100644
> --- a/man2/semget.2
> +++ b/man2/semget.2
> @@ -155,7 +155,7 @@ If the semaphore set already exists, the permissions are
>  verified.
>  .\" and a check is made to see if it is marked for destruction.
>  .SH RETURN VALUE
> -On sucess,
> +On success,
>  .BR semget ()
>  returns the semaphore set identifier (a nonnegative integer).
>  On failure, \-1 is returned, and
> diff --git a/man3/shm_open.3 b/man3/shm_open.3
> index c7d051067..6bc8078f0 100644
> --- a/man3/shm_open.3
> +++ b/man3/shm_open.3
> @@ -170,7 +170,7 @@ was specified, in which case a new, distinct object is created).
>  On success,
>  .BR shm_open ()
>  returns a file descriptor (a nonnegative integer).
> -On sucess,
> +On success,
>  .BR shm_unlink ()
>  returns 0.
>  On failure, both functions return \-1 and set
> 


-- 
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