aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2016-12-22 18:38:59 +0100
committerTomasz Kramkowski <tk@the-tk.com>2016-12-22 18:38:59 +0100
commitcb4a70a049f2df4b6ffaa5f7fb5f920910bd1d68 (patch)
tree4c08019b009d16169bc3be26479800c95afb0bde /util.c
parenteee1fedc3a69e503fab74248937e35e71dee4992 (diff)
downloadhktool-cb4a70a049f2df4b6ffaa5f7fb5f920910bd1d68.tar.gz
hktool-cb4a70a049f2df4b6ffaa5f7fb5f920910bd1d68.tar.xz
hktool-cb4a70a049f2df4b6ffaa5f7fb5f920910bd1d68.zip
log: removal of log.{c,h}
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);
}