summaryrefslogtreecommitdiff
path: root/src/resolv/async_resolv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolv/async_resolv.c')
-rw-r--r--src/resolv/async_resolv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resolv/async_resolv.c b/src/resolv/async_resolv.c
index ad9d5829..f1e577e8 100644
--- a/src/resolv/async_resolv.c
+++ b/src/resolv/async_resolv.c
@@ -645,7 +645,8 @@ resolv_copy_hostent_ares(TALLOC_CTX *mem_ctx, struct hostent *src,
&((struct ares_addr6ttl *) ares_ttl_data)[i]);
break;
default:
- DEBUG(1, ("Unknown address family %d\n"));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ ("Unknown address family %d\n", family));
goto fail;
}
@@ -1484,7 +1485,8 @@ resolv_get_sockaddr_address_index(TALLOC_CTX *mem_ctx,
((struct sockaddr_in6 *) sockaddr)->sin6_port = (in_port_t) htons(port);
break;
default:
- DEBUG(1, ("Unknown address family %d\n"));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ ("Unknown address family %d\n", hostent->family));
return NULL;
}