diff probes/memory.c @ 10:3a1977ecccc7

Add a configure script and fix various things
author Louis Opter <kalessin@kalessin.fr>
date Thu, 06 Jan 2011 00:59:06 +0100
parents 6f2e13f5fcfd
children
line wrap: on
line diff
--- a/probes/memory.c	Sun Jan 02 01:50:27 2011 +0100
+++ b/probes/memory.c	Thu Jan 06 00:59:06 2011 +0100
@@ -44,5 +44,7 @@
 {
     assert(c);
 
-    return (read_stat(c));
+    if (read_stat(c))
+        return (-1);
+    return (0);
 }