Re: [PATCH 20/24] setnetgrent.3: Fix prototype

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

 



Thank you, Rasmus. Applied.

Cheers,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> The buflen argument to getnetgrent_r has type size_t.
> 
> Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx>
> ---
>  man3/setnetgrent.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/setnetgrent.3 b/man3/setnetgrent.3
> index 2a85a95..25293e6 100644
> --- a/man3/setnetgrent.3
> +++ b/man3/setnetgrent.3
> @@ -22,7 +22,7 @@ handle network group entries
>  .BI "int getnetgrent(char **" host ", char **" user ", char **" domain );
>  
>  .BI "int getnetgrent_r(char **" host ", char **" user ","
> -.BI "                  char **" domain ", char *" buf ", int " buflen );
> +.BI "                  char **" domain ", char *" buf ", size_t " buflen );
>  
>  .BI "int innetgr(const char *" netgroup ", const char *" host ","
>  .BI "            const char *" user ", const char *" domain );
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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