summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clients/s6-dnsip.c1
-rw-r--r--src/libs6dns/s6dns_message_parse.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/clients/s6-dnsip.c b/src/clients/s6-dnsip.c
index 041d450..68ce62b 100644
--- a/src/clients/s6-dnsip.c
+++ b/src/clients/s6-dnsip.c
@@ -72,7 +72,6 @@ int main (int argc, char const *const *argv)
{
r = s6dns_resolve_aaaaa_g(&ips, argv[0], strlen(argv[0]), flagqualify, &deadline) ;
if (r < 0) strerr_diefu2sys((errno == ETIMEDOUT) ? 99 : 111, "resolve ", argv[0]) ;
- if (!r) strerr_diefu4x(2, "resolve ", argv[0], ": ", s6dns_constants_error_str(errno)) ;
}
if (!genalloc_len(ip46full, &ips)) return 1 ;
diff --git a/src/libs6dns/s6dns_message_parse.c b/src/libs6dns/s6dns_message_parse.c
index 4bf6d7d..bd26f85 100644
--- a/src/libs6dns/s6dns_message_parse.c
+++ b/src/libs6dns/s6dns_message_parse.c
@@ -1,7 +1,9 @@
/* ISC license. */
#include <errno.h>
+
#include <skalibs/error.h>
+
#include <s6-dns/s6dns-constants.h>
#include <s6-dns/s6dns-message.h>