]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolved: fix build 2041/head
authorLennart Poettering <lennart@poettering.net>
Thu, 26 Nov 2015 23:10:29 +0000 (00:10 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 26 Nov 2015 23:10:29 +0000 (00:10 +0100)
src/resolve/resolved-bus.c

index c5b48570172e2b1e2ca8b7bece4f722d609afacc..62bb08a2e8a8b5997b42cb99d33782ff3199aee1 100644 (file)
@@ -300,7 +300,7 @@ static void bus_method_resolve_address_complete(DnsQuery *q) {
 
         r = dns_query_process_cname(q);
         if (r == -ELOOP) {
-                r = sd_bus_reply_method_errorf(q->request, BUS_ERROR_CNAME_LOOP, "CNAME loop detected, or CNAME resolving disabled on '%s'", dns_question_name(q->question));
+                r = sd_bus_reply_method_errorf(q->request, BUS_ERROR_CNAME_LOOP, "CNAME loop detected, or CNAME resolving disabled on '%s'", dns_question_first_name(q->question));
                 goto finish;
         }
         if (r < 0)