monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

monit/process sysdep_DARWIN.c


From: Martin Pala
Subject: monit/process sysdep_DARWIN.c
Date: Wed, 21 Jun 2006 18:59:54 +0000

CVSROOT:        /sources/monit
Module name:    monit
Changes by:     Martin Pala <martinp>   06/06/21 18:59:54

Modified files:
        process        : sysdep_DARWIN.c 

Log message:
        print the kvm_open error in debug mode (when it failed)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/monit/process/sysdep_DARWIN.c?cvsroot=monit&r1=1.27&r2=1.28

Patches:
Index: sysdep_DARWIN.c
===================================================================
RCS file: /sources/monit/monit/process/sysdep_DARWIN.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- sysdep_DARWIN.c     20 Jun 2006 23:18:40 -0000      1.27
+++ sysdep_DARWIN.c     21 Jun 2006 18:59:54 -0000      1.28
@@ -69,7 +69,7 @@
  *  @author Rory Toma <address@hidden>
  *  @author Martin Pala <address@hidden>
  *
- *  @version \$Id: sysdep_DARWIN.c,v 1.27 2006/06/20 23:18:40 martinp Exp $
+ *  @version \$Id: sysdep_DARWIN.c,v 1.28 2006/06/21 18:59:54 martinp Exp $
  *
  *  @file
  */
@@ -153,7 +153,7 @@
     return FALSE;
   }
 
-  if(!(kvm_handle = kvm_open(NULL, NULL, NULL, O_RDONLY, NULL)))
+  if(!(kvm_handle = kvm_open(NULL, NULL, NULL, O_RDONLY, "kvm_open: ")))
   {
     LogError("system statistic error -- cannot initialize kvm interface\n");
     return FALSE;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]