From: Jakub Wilk <jwilk@xxxxxxxxx> Signed-off-by: Jakub Wilk <jwilk@xxxxxxxxx> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- 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 -- 2.30.0