Re: [bug] tfix: shm_open.3

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

 



Hello Jon,

On Mon, 5 Apr 2021 at 16:37, Jon Murphy <jonmurphy1618@xxxxxxxxx> wrote:
>
> There's a word duplication typo in shm_open.3. The words "to tell"
> should be deleted from the below text.
> "Post 'sem2' to tell the to tell peer that it can now access the
> modified data in shared memory."
>
> From release 5.11 online manual.
> https://man7.org/linux/man-pages/man3/shm_open.3.html

Thanks. I fixed this.

Cheers,

Michael

diff --git a/man3/shm_open.3 b/man3/shm_open.3
index ca97ff3f6..265435e4e 100644
--- a/man3/shm_open.3
+++ b/man3/shm_open.3
@@ -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)




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