Re: [PATCH] malloc.3: don't write realloc in RETURN VALUE section when it means calloc.

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

 



Hi Adeodato,

On Mon, Dec 29, 2008 at 12:14 AM, Adeodato Simó <dato@xxxxxxxxxxxxxx> wrote:
> Signed-off-by: Adeodato Simó <dato@xxxxxxxxxxxxxx>
> ---
>
> Common sense tells me this fix is correct, but that's about it. :-)

I'll add my vote to common sense. ;-)

Fixed as you suggest, for 3.17.

Cheers,

Michael

>  man3/malloc.3 |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/man3/malloc.3 b/man3/malloc.3
> index 4ba2763..263d022 100644
> --- a/man3/malloc.3
> +++ b/man3/malloc.3
> @@ -133,7 +133,7 @@ with a
>  .I size
>  of zero,
>  or by a successful call to
> -.BR realloc ()
> +.BR calloc ()
>  with
>  .I nmemb
>  or
> --
> 1.6.1.307.g07803
>
>



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