Fix printf formating tag %d -> %s
This commit is contained in:
parent
f9afb51816
commit
25f3a11a25
@ -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;
|
struct in_addr *address_list = (struct in_addr *) addresses;
|
||||||
|
|
||||||
if (result != DNS_ERR_NONE) {
|
if (result != DNS_ERR_NONE) {
|
||||||
printf("DNS Lookup: result(%d)\n",
|
printf("DNS Lookup: result(%s)\n",
|
||||||
evdns_err_to_string(result));
|
evdns_err_to_string(result));
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user