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

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

 



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 );
-- 
1.9.2

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