shm_open.3: wfix

Reported-by: Jon Murphy <jonmurphy1618@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-04-05 21:40:01 +02:00
parent 0bdc3187ec
commit 2b95ad349b
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ main(int argc, char *argv[])
for (int j = 0; j < shmp\->cnt; j++)
shmp\->buf[j] = toupper((unsigned char) shmp\->buf[j]);
/* Post \(aqsem2\(aq to tell the to tell peer that it can now
/* Post \(aqsem2\(aq to tell the peer that it can now
access the modified data in shared memory. */
if (sem_post(&shmp\->sem2) == \-1)