packages: net-snmp/net-snmp-logging.patch - add second part; from reply #25

glen glen at pld-linux.org
Tue Dec 27 15:29:39 CET 2011


Author: glen                         Date: Tue Dec 27 14:29:39 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add second part; from reply #25

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

---- Diffs:

================================================================
Index: packages/net-snmp/net-snmp-logging.patch
diff -u packages/net-snmp/net-snmp-logging.patch:1.1 packages/net-snmp/net-snmp-logging.patch:1.2
--- packages/net-snmp/net-snmp-logging.patch:1.1	Tue Dec 27 14:08:55 2011
+++ packages/net-snmp/net-snmp-logging.patch	Tue Dec 27 15:29:34 2011
@@ -43,3 +43,13 @@
  	    *swpin = *swpout = 0;
  	}
      }
+--- net-snmp-5.7.1/./agent/mibgroup/hardware/cpu/cpu_linux.c~	2011-12-27 15:05:21.000000000 +0200
++++ net-snmp-5.7.1/./agent/mibgroup/hardware/cpu/cpu_linux.c	2011-12-27 15:06:39.795180506 +0200
+@@ -320,5 +320,7 @@
+ 	if (first)
+ 	    snmp_log(LOG_ERR, "No ctxt line in %s\n", STAT_FILE);
+     }
++
++	first = 0;
+ }
+ 
================================================================

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



More information about the pld-cvs-commit mailing list