Added mh_xcalloc().
[mmh] / uip / burst.c
index 37dc9b1..28e0e85 100644 (file)
@@ -117,7 +117,7 @@ main(int argc, char **argv)
        seq_setprev(mp);  /* set the previous-sequence */
 
        smsgs = (struct smsg *)
-               calloc((size_t) (MAXFOLDER + 2), sizeof(*smsgs));
+               mh_xcalloc((size_t) (MAXFOLDER + 2), sizeof(*smsgs));
        if (smsgs == NULL)
                adios(EX_OSERR, NULL, "unable to allocate burst storage");