diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-11-04 19:45:08 +0100 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-11-04 19:45:08 +0100 |
commit | ca7978c59bb30a095cf8279944d3ec78361afd30 (patch) | |
tree | e0a513c47d0546b6a3a559895628b3b37d66b18e /util.c | |
parent | 8185d5eacbcd3fc2420e752e8175c05b9a35b9b3 (diff) |
die() on calloc failure
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ ecalloc(size_t nmemb, size_t size) void *p; if (!(p = calloc(nmemb, size))) - perror(NULL); + die("calloc:"); return p; } |