aboutsummaryrefslogtreecommitdiffstats
path: root/libc/netbsd/net/getaddrinfo.c
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2012-02-07 11:53:55 -0800
committerRobert Greenwalt <rgreenwalt@google.com>2012-02-07 11:53:55 -0800
commit1625c7a837d73b6729f97edb32c497d289c0220c (patch)
treecf18c3d2a948a069a2405bab819b491bdaeaa29f /libc/netbsd/net/getaddrinfo.c
parent9db064a0d3985bc1e4bb9f88ec81c7c2715c410c (diff)
downloadandroid_bionic-1625c7a837d73b6729f97edb32c497d289c0220c.tar.gz
android_bionic-1625c7a837d73b6729f97edb32c497d289c0220c.tar.bz2
android_bionic-1625c7a837d73b6729f97edb32c497d289c0220c.zip
Use the new NativeDaemonConnector style.
Prepend a 0 to match the new sequence-number style, though this module doesn't really need/use it. bug:5864209 Change-Id: Iacbcddaced6fe8bb01d186596a916e4fb4805fef
Diffstat (limited to 'libc/netbsd/net/getaddrinfo.c')
-rw-r--r--libc/netbsd/net/getaddrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/netbsd/net/getaddrinfo.c b/libc/netbsd/net/getaddrinfo.c
index 6ae6e3e43..6aee69741 100644
--- a/libc/netbsd/net/getaddrinfo.c
+++ b/libc/netbsd/net/getaddrinfo.c
@@ -461,7 +461,7 @@ android_getaddrinfo_proxy(
// Send the request.
proxy = fdopen(sock, "r+");
- if (fprintf(proxy, "getaddrinfo %s %s %d %d %d %d",
+ if (fprintf(proxy, "0 getaddrinfo %s %s %d %d %d %d",
hostname == NULL ? "^" : hostname,
servname == NULL ? "^" : servname,
hints == NULL ? -1 : hints->ai_flags,