comparison 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
comparison
equal deleted inserted replaced
9:6f2e13f5fcfd 10:3a1977ecccc7
42 int 42 int
43 _lxcst_probe_memory(struct lxcst *c) 43 _lxcst_probe_memory(struct lxcst *c)
44 { 44 {
45 assert(c); 45 assert(c);
46 46
47 return (read_stat(c)); 47 if (read_stat(c))
48 return (-1);
49 return (0);
48 } 50 }