From a6a0949b1d629daaf297fe7d1f1d68f636c2bb4a Mon Sep 17 00:00:00 2001 From: Patrick Tjin Date: Tue, 20 Jan 2015 16:02:04 -0800 Subject: [PATCH] Fix build error when XLOG is enabled (cherrypick of 79a49c9857f3949fc13373eeb179f27b6ecdca81.) Change-Id: I7bb44fd1fe3ef2ddfc115247f328eccfceeb5352 Signed-off-by: Patrick Tjin --- libc/dns/resolv/res_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/dns/resolv/res_cache.c b/libc/dns/resolv/res_cache.c index 15d04c2fa..c43183523 100644 --- a/libc/dns/resolv/res_cache.c +++ b/libc/dns/resolv/res_cache.c @@ -1090,7 +1090,7 @@ answer_getTTL(const void* answer, int answerlen) XLOG("ns_parserr failed. %s\n", strerror(errno)); } - XLOG("TTL = %d\n", result); + XLOG("TTL = %lu\n", result); return result; }