aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util.c b/util.c
index 9f8e23e..33c5bee 100644
--- a/util.c
+++ b/util.c
@@ -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);
}