summaryrefslogtreecommitdiffstats
path: root/libc/netbsd/resolv
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-05-14 11:10:23 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-05-14 11:10:23 -0700
commit509fc8069757aa6091e044f659f76da0bf59723c (patch)
treec372d3f585badefc2c2620a993b6f3a0deaf49b2 /libc/netbsd/resolv
parent30d7485dd30a06e2fb7b8134b6e1a3ecb0ac7ba7 (diff)
parentd8a9cccb4d77eecc36425c9240a12bd305031ee3 (diff)
downloadbionic-509fc8069757aa6091e044f659f76da0bf59723c.zip
bionic-509fc8069757aa6091e044f659f76da0bf59723c.tar.gz
bionic-509fc8069757aa6091e044f659f76da0bf59723c.tar.bz2
am d8a9cccb: Merge "Fix all printf warnings in res_send.c."
* commit 'd8a9cccb4d77eecc36425c9240a12bd305031ee3': Fix all printf warnings in res_send.c.
Diffstat (limited to 'libc/netbsd/resolv')
-rw-r--r--libc/netbsd/resolv/res_send.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/netbsd/resolv/res_send.c b/libc/netbsd/resolv/res_send.c
index d407ac8..0bb5b6b 100644
--- a/libc/netbsd/resolv/res_send.c
+++ b/libc/netbsd/resolv/res_send.c
@@ -581,8 +581,8 @@ res_nsend(res_state statp,
if (n == 0)
goto next_ns;
if (DBG) {
- __libc_format_log(ANDROID_LOG_DEBUG, "libc",
- "time=%d, %d\n",time(NULL), time(NULL)%2);
+ __libc_format_log(ANDROID_LOG_DEBUG, "libc", "time=%ld\n",
+ time(NULL));
}
if (v_circuit)
goto same_ns;
@@ -961,7 +961,7 @@ done:
fcntl(sock, F_SETFL, origflags);
if (DBG) {
__libc_format_log(ANDROID_LOG_DEBUG, "libc",
- " %d connect_with_timeout returning %s\n", sock, res);
+ " %d connect_with_timeout returning %d\n", sock, res);
}
return res;
}
@@ -1025,7 +1025,7 @@ retry:
}
if (DBG) {
__libc_format_log(ANDROID_LOG_DEBUG, "libc",
- " %d retrying_select returning %d for %d\n",sock, n);
+ " %d retrying_select returning %d\n",sock, n);
}
return n;