Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > b30107eb07e57ab7103b0581b7316395 > files > 13

pciutils-3.2.0-2.mga2.src.rpm

diff -p -up ./lib/names-net.c.tv ./lib/names-net.c
--- ./lib/names-net.c.tv	2008-05-14 01:40:39.000000000 +0200
+++ ./lib/names-net.c	2008-05-14 01:56:49.000000000 +0200
@@ -197,7 +197,11 @@
   res = res_query(dnsname, ns_c_in, ns_t_txt, answer, sizeof(answer));
   if (res < 0)
     {
+#ifdef __USE_DIETLIBC
+      a->debug("\tfailed\n");
+#else
       a->debug("\tfailed, h_errno=%d\n", h_errno);
+#endif
       return NULL;
     }
   if (dns_parse_packet(&ds, answer, res) < 0)