summaryrefslogtreecommitdiff
path: root/package/monit/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-04 22:23:12 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-04 22:23:12 +0100
commit4bbe6b30b24c99257a43523fbe4e3be935793fa5 (patch)
tree165008983a6d013a91cf2f9dce9cda9d63c53059 /package/monit/patches
parent8ffbe06d2450f37a790cd66d19e8960f2bad2941 (diff)
add patch dir
Diffstat (limited to 'package/monit/patches')
-rw-r--r--package/monit/patches/patch-src_process_sysdep_LINUX_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/monit/patches/patch-src_process_sysdep_LINUX_c b/package/monit/patches/patch-src_process_sysdep_LINUX_c
new file mode 100644
index 000000000..a2781dd91
--- /dev/null
+++ b/package/monit/patches/patch-src_process_sysdep_LINUX_c
@@ -0,0 +1,11 @@
+--- monit-5.6.orig/src/process/sysdep_LINUX.c 2012-05-10 22:52:38.000000000 +0200
++++ monit-5.6/src/process/sysdep_LINUX.c 2014-01-04 20:19:48.000000000 +0100
+@@ -204,7 +204,7 @@ int initprocesstree_sysdep(ProcessTree_T
+ ASSERT(reference);
+
+ /* Find all processes in the /proc directory */
+- if ((rv = glob("/proc/[0-9]*", GLOB_ONLYDIR, NULL, &globbuf))) {
++ if ((rv = glob("/proc/[0-9]*", NULL, NULL, &globbuf))) {
+ LogError("system statistic error -- glob failed: %d (%s)\n", rv, STRERROR);
+ return FALSE;
+ }