mirror of https://github.com/mkerrisk/man-pages
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:
parent
0bdc3187ec
commit
2b95ad349b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue