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