die() on calloc failure a280bdad
thanks Markus Teich and David!
Hiltjo Posthuma · 2016-11-05 11:36 1 file(s) · +1 −1
util.c +1 −1
12 12
	void *p;
13 13
14 14
	if (!(p = calloc(nmemb, size)))
15 -
		perror(NULL);
15 +
		die("calloc:");
16 16
	return p;
17 17
}
18 18