]> git.pld-linux.org Git - packages/net-snmp.git/commitdiff
- actually set the function
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 7 Aug 2011 19:28:30 +0000 (19:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    net-snmp-libpci-init.patch -> 1.3

net-snmp-libpci-init.patch

index 1aa748cb63df688c468d8e8dd0816822be9b6cf7..b0a80f53e5b355af78ccb41bc129e5f529368bee 100644 (file)
  #endif
  
  #ifdef HAVE_LINUX_ETHTOOL_H
-@@ -146,9 +158,13 @@
+@@ -146,9 +158,14 @@
  
  #ifdef HAVE_PCI_LOOKUP_NAME
      pci_access = pci_alloc();
 -    if (pci_access)
 +    if (pci_access) {
++      pci_access->error = _net_snmp_pci_error;
        pci_init(pci_access);
 -    else
 +      if (_net_snmp_pci_status == 0) {
This page took 0.041037 seconds and 4 git commands to generate.