extern size_t max_alloc;
-char *do_malloc = "42";
+char *do_calloc = "42";
/**
* Sleep for a specified number of milliseconds.
exit_cleanup(RERR_MALLOC);
}
if (!ptr)
- ptr = calloc(num, size);
- else if (ptr == do_malloc)
ptr = malloc(num * size);
+ else if (ptr == do_calloc)
+ ptr = calloc(num, size);
else
ptr = realloc(ptr, num * size);
if (!ptr && file)