]> git.pld-linux.org Git - packages/net-snmp.git/commitdiff
- use net-snmp logging functions for error reporting
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 7 Aug 2011 19:17:31 +0000 (19:17 +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.2

net-snmp-libpci-init.patch

index b29ce268b401979bd06a22dd274d08a08d622697..1aa748cb63df688c468d8e8dd0816822be9b6cf7 100644 (file)
@@ -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
This page took 0.160378 seconds and 4 git commands to generate.