]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolved: don't try to print error strings, where errno isn't set
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Jan 2016 22:29:04 +0000 (23:29 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 Jan 2016 22:31:29 +0000 (23:31 +0100)
src/resolve/resolved-dns-transaction.c

index b2e1e60a58526ff1f24484a5ee1c1ba88ee1fbeb..5640cd1d3304fe9183c97e631aaa0f092f456477 100644 (file)
@@ -967,12 +967,12 @@ static int on_dns_packet(sd_event_source *s, int fd, uint32_t revents, void *use
                 return 0;
         }
         if (r == 0) {
-                log_debug("Received inappropriate DNS packet as response, ignoring: %m");
+                log_debug("Received inappropriate DNS packet as response, ignoring.");
                 return 0;
         }
 
         if (DNS_PACKET_ID(p) != t->id) {
-                log_debug("Received packet with incorrect transaction ID, ignoring: %m");
+                log_debug("Received packet with incorrect transaction ID, ignoring.");
                 return 0;
         }