aboutsummaryrefslogtreecommitdiffstats
path: root/libc/netbsd/net/getnameinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/netbsd/net/getnameinfo.c')
-rw-r--r--libc/netbsd/net/getnameinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/netbsd/net/getnameinfo.c b/libc/netbsd/net/getnameinfo.c
index d3d0011b9..313b2bf36 100644
--- a/libc/netbsd/net/getnameinfo.c
+++ b/libc/netbsd/net/getnameinfo.c
@@ -187,7 +187,7 @@ android_gethostbyaddr_proxy(struct hostent* hp, const void *addr, socklen_t addr
if (addrStr == NULL) {
goto exit;
}
- if (fprintf(proxy, "gethostbyaddr %s %d %d", addrStr, addrLen, addrFamily) < 0) {
+ if (fprintf(proxy, "0 gethostbyaddr %s %d %d", addrStr, addrLen, addrFamily) < 0) {
goto exit;
}