--- projects/libstatgrab/src/libstatgrab/tools.c 2004/04/05 00:01:48 1.38 +++ projects/libstatgrab/src/libstatgrab/tools.c 2004/04/05 00:17:40 1.39 @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * - * $Id: tools.c,v 1.38 2004/04/05 00:01:48 ats Exp $ + * $Id: tools.c,v 1.39 2004/04/05 00:17:40 tdb Exp $ */ #ifdef HAVE_CONFIG_H @@ -216,7 +216,7 @@ int build_mapping(){ int found; if ((kc = kstat_open()) == NULL) { - return; + return 1; } for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) {