aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-12-31 14:09:54 -0600
committerRob Landley <rob@landley.net>2015-12-31 14:09:54 -0600
commitadf6f03bdd7bc19013463780d059b721bf90f4d5 (patch)
treef9b5f6da962f1e1320de0d211db86d80a3c9752a /lib
parent4ff9295f462c4f753902e6e520f645cad305aec6 (diff)
downloadtoybox-adf6f03bdd7bc19013463780d059b721bf90f4d5.tar.gz
Tweak error message.
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;
}