X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/07c319ec54d6fc778ee3cc5e75a747242006723e..560abd625b757e887c5ee0c7183e9451fd02966a:/src/xbt/mmalloc/attach.c?ds=sidebyside diff --git a/src/xbt/mmalloc/attach.c b/src/xbt/mmalloc/attach.c index 7963a467fd..bd151db9c0 100644 --- a/src/xbt/mmalloc/attach.c +++ b/src/xbt/mmalloc/attach.c @@ -131,7 +131,7 @@ void *mmalloc_attach(int fd, void *baseaddr) if ((mbase = mdp->morecore(mdp, sizeof(mtemp))) != NULL) { memcpy(mbase, mdp, sizeof(mtemp)); } else { - abort(); + THROWF(system_error,0,"morecore failed to get some memory!"); } /* Add the new heap to the linked list of heaps attached by mmalloc */