--- projects/libstatgrab/src/libstatgrab/tools.c 2004/04/07 14:53:40 1.49 +++ projects/libstatgrab/src/libstatgrab/tools.c 2004/04/07 15:46:34 1.50 @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * - * $Id: tools.c,v 1.49 2004/04/07 14:53:40 tdb Exp $ + * $Id: tools.c,v 1.50 2004/04/07 15:46:34 pajs Exp $ */ #ifdef HAVE_CONFIG_H @@ -515,7 +515,7 @@ void *sg_realloc(void *ptr, size_t size) { void *tmp = NULL; tmp = realloc(ptr, size); if(tmp == NULL) { - sg_set_error(SG_ERROR_MALLOC_FAILED, NULL); + sg_set_error(SG_ERROR_MALLOC, NULL); } return tmp; }