SOURCES: net-snmp-nomemshared.patch (NEW) - be silent.

arekm arekm at pld-linux.org
Wed Jun 22 08:48:14 CEST 2005


Author: arekm                        Date: Wed Jun 22 06:48:14 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- be silent.

---- Files affected:
SOURCES:
   net-snmp-nomemshared.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/net-snmp-nomemshared.patch
diff -u /dev/null SOURCES/net-snmp-nomemshared.patch:1.1
--- /dev/null	Wed Jun 22 08:48:14 2005
+++ SOURCES/net-snmp-nomemshared.patch	Wed Jun 22 08:48:09 2005
@@ -0,0 +1,11 @@
+--- net-snmp-5.1.1/agent/mibgroup/ucd-snmp/memory.c.old	2004-03-26 13:25:41.048612988 +0200
++++ net-snmp-5.1.1/agent/mibgroup/ucd-snmp/memory.c	2004-03-26 13:26:43.672575121 +0200
+@@ -290,7 +290,7 @@
+         if (b)
+             sscanf(b, "MemShared: %lu", memshared);
+         else {
+-            snmp_log(LOG_ERR, "No MemShared line in /proc/meminfo\n");
++            /* snmp_log(LOG_ERR, "No MemShared line in /proc/meminfo\n"); */
+             *memshared = 0;
+         }
+         b = strstr(buff, "Buffers: ");
================================================================



More information about the pld-cvs-commit mailing list