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); }