aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/xwrap.c2
1 files changed, 1 insertions, 1 deletions
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;
}