packages: net-snmp/net-snmp-libpci-init.patch - use net-snmp logging functi...

baggins baggins at pld-linux.org
Sun Aug 7 21:17:36 CEST 2011


Author: baggins                      Date: Sun Aug  7 19:17:36 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use net-snmp logging functions for error reporting

---- Files affected:
packages/net-snmp:
   net-snmp-libpci-init.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/net-snmp/net-snmp-libpci-init.patch
diff -u packages/net-snmp/net-snmp-libpci-init.patch:1.1 packages/net-snmp/net-snmp-libpci-init.patch:1.2
--- packages/net-snmp/net-snmp-libpci-init.patch:1.1	Sun Aug  7 21:12:59 2011
+++ packages/net-snmp/net-snmp-libpci-init.patch	Sun Aug  7 21:17:31 2011
@@ -11,9 +11,9 @@
 +  va_list args;
 +
 +  va_start(args, msg);
-+  fputs("pcilib: ", stderr);
-+  vfprintf(stderr, msg, args);
-+  fputc('\n', stderr);
++  snmp_log(LOG_ERR, "pcilib: ");
++  snmp_vlog(LOG_ERR, msg, args);
++  snmp_log(LOG_ERR, "\n");
 +  _net_snmp_pci_status = 0;
 +}
  #endif
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/net-snmp/net-snmp-libpci-init.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list