diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2012-02-07 11:53:55 -0800 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2012-02-07 11:53:55 -0800 |
commit | 1625c7a837d73b6729f97edb32c497d289c0220c (patch) | |
tree | cf18c3d2a948a069a2405bab819b491bdaeaa29f /libc/netbsd/net/getnameinfo.c | |
parent | 9db064a0d3985bc1e4bb9f88ec81c7c2715c410c (diff) | |
download | android_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/getnameinfo.c')
-rw-r--r-- | libc/netbsd/net/getnameinfo.c | 2 |
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; } |