]> git.pld-linux.org Git - packages/monit.git/commitdiff
- really fix it
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 8 Sep 2003 17:32:06 +0000 (17:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    monit-meminfo-vs-kcore.patch -> 1.3

monit-meminfo-vs-kcore.patch

index 7593617f2facd95977d03317a1feb6d5dff4f445..133a782c568f44c53381cf7134581f095e46a6b8 100644 (file)
@@ -24,7 +24,7 @@ diff -urN monit-4.0.org/process/sysdep_LINUX.c monit-4.0/process/sysdep_LINUX.c
  
 -  if ( stat("/proc/kcore", &buf) != 0 ) {
 +  /* read the file */
-+  if (read(mem, buf, sizeof(buf)) < 0) {
++  if (read(memfd, buf, sizeof(buf)) < 0) {
 +      close(memfd);
 +      return FALSE;
 +  }
This page took 0.051313 seconds and 4 git commands to generate.