Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > 5fd234c1c0bb2adac5945e203b48cc91 > files > 3

pciutils-3.1.2-1mdv2009.1.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)