diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -24,7 +24,6 @@ #include <string.h> #include <ctype.h> -#include "log.h" #include "eprintf.h" #include "util.h" @@ -34,7 +33,7 @@ void *xstrmalloc(size_t size) size_t nsize; if (size == SIZE_MAX) - error(0, EMSG_ALLOC); + eprintf("xstrmalloc(%zu) failed: %zu == SIZE_MAX", size, size); return emalloc(nsize); } |