--- projects/libstatgrab/src/libstatgrab/tools.c 2004/04/08 10:56:13 1.52 +++ projects/libstatgrab/src/libstatgrab/tools.c 2004/05/30 17:07:53 1.53 @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * - * $Id: tools.c,v 1.52 2004/04/08 10:56:13 tdb Exp $ + * $Id: tools.c,v 1.53 2004/05/30 17:07:53 ats Exp $ */ #ifdef HAVE_CONFIG_H @@ -490,6 +490,8 @@ struct uvmexp *sg_get_uvmexp() { #endif int sg_init(){ + sg_set_error(SG_ERROR_NONE, NULL); + #if (defined(FREEBSD) && !defined(FREEBSD5)) || defined(DFBSD) if (sg_get_kvm() == NULL) { return -1;