Re: [PATCH] semop.2: fix typo in example

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

 



Kirril,

On Sun, Sep 28, 2008 at 7:41 PM, Kirill A. Shutemov
<kirill@xxxxxxxxxxxxx> wrote:
> Signed-off-by: Kirill A. Shutemov <kirill@xxxxxxxxxxxxx>
> ---
>  man2/semop.2 |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/man2/semop.2 b/man2/semop.2
> index f5f54a9..b934018 100644
> --- a/man2/semop.2
> +++ b/man2/semop.2
> @@ -505,7 +505,7 @@ and then increment the semaphore value by one.
>     sops[1].sem_op = 1;         /* Increment value by one */
>     sops[1].sem_flg = 0;
>
> -    if (semop(semid, &sop, 2) == \-1) {
> +    if (semop(semid, sops, 2) == \-1) {
>         perror("semop");
>         exit(EXIT_FAILURE);
>     }
> --

Thanks.  Applied for 3.11.

Cheers,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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