From adf6f03bdd7bc19013463780d059b721bf90f4d5 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 31 Dec 2015 14:09:54 -0600 Subject: Tweak error message. --- lib/xwrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xwrap.c b/lib/xwrap.c index 4880bbe0..6d0c5113 100644 --- a/lib/xwrap.c +++ b/lib/xwrap.c @@ -40,7 +40,7 @@ void xexit(void) void *xmalloc(size_t size) { void *ret = malloc(size); - if (!ret) error_exit("xmalloc"); + if (!ret) error_exit("xmalloc(%ld)", (long)size); return ret; } -- cgit v1.2.3