Re: [PATCH] Typos in man2/getrlimit.2

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

 



Hello Denis,

On Mon, Nov 29, 2010 at 9:20 PM, Denis Barbier <bouzim@xxxxxxxxx> wrote:
> Hello,
>
> Here are the last bits against ea03a3a.

Thanks. Applied for 3.22.

Cheers,

Michael


>
> diff --git a/man2/getrlimit.2 b/man2/getrlimit.2
> index e34a152..fede0b2 100644
> --- a/man2/getrlimit.2
> +++ b/man2/getrlimit.2
> @@ -542,7 +542,7 @@ main(int argc, char *argv[])
>         exit(EXIT_FAILURE);
>     }
>
> -    pid = atoi(argv[1]);        /* PID of traget process */
> +    pid = atoi(argv[1]);        /* PID of target process */
>
>     newp = NULL;
>     if (argc == 4) {
> @@ -551,7 +551,7 @@ main(int argc, char *argv[])
>         newp = &new;
>     }
>
> -    /* Set CPU time limit of target prcess; retrieve and display
> +    /* Set CPU time limit of target process; retrieve and display
>        previous limit */
>
>     if (prlimit(pid, RLIMIT_CPU, newp, &old) == \-1)
>



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
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