git: 1d450a425836 - main - gethostbyaddr_r: correct typo in signature from dc68997328ec6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Oct 2026 06:37:53 UTC
The branch main has been updated by obrien:
URL: https://cgit.FreeBSD.org/src/commit/?id=1d450a42583645177071a6bd767bb36e97f02bc1
commit 1d450a42583645177071a6bd767bb36e97f02bc1
Author: David E. O'Brien <obrien@FreeBSD.org>
AuthorDate: 2026-10-30 06:33:56 +0000
Commit: David E. O'Brien <obrien@FreeBSD.org>
CommitDate: 2026-10-30 06:35:36 +0000
gethostbyaddr_r: correct typo in signature from dc68997328ec6
'man 3 gethostbyaddr_r' was incorrectly showing 9 arguments.
---
lib/libc/net/gethostbyname.3 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3
index 1d817679c028..51f4f3c34710 100644
--- a/lib/libc/net/gethostbyname.3
+++ b/lib/libc/net/gethostbyname.3
@@ -67,7 +67,7 @@
.Ft int
.Fn gethostbyname2_r "const char *name" "int af" "struct hostent *he" "char *buffer" "size_t buflen" "struct hostent **result" "int *h_errnop"
.Ft int
-.Fn gethostbyaddr_r "const void *addr" "socklen_t len" "int af" "struct hostent *hp" "char *buf" "size_t buflen" "struct hostent **result" "int *h_errno"p
+.Fn gethostbyaddr_r "const void *addr" "socklen_t len" "int af" "struct hostent *hp" "char *buf" "size_t buflen" "struct hostent **result" "int *h_errno"
.Sh DESCRIPTION
.Bf -symbolic
The