From 25f3a11a2571adfc09df002526cd7fe15317347c Mon Sep 17 00:00:00 2001 From: tedbullock Date: Sat, 2 Feb 2008 05:02:34 +0000 Subject: [PATCH] Fix printf formating tag %d -> %s --- httperf/src/idleconn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httperf/src/idleconn.c b/httperf/src/idleconn.c index 044c42d..d06c478 100755 --- a/httperf/src/idleconn.c +++ b/httperf/src/idleconn.c @@ -142,7 +142,7 @@ dns_lookup_callback(int result, char type, int count, int ttl, void *addresses, struct in_addr *address_list = (struct in_addr *) addresses; if (result != DNS_ERR_NONE) { - printf("DNS Lookup: result(%d)\n", + printf("DNS Lookup: result(%s)\n", evdns_err_to_string(result)); exit(EXIT_FAILURE); }