diff options
author | Rob Landley <rob@landley.net> | 2015-12-31 14:09:54 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-12-31 14:09:54 -0600 |
commit | adf6f03bdd7bc19013463780d059b721bf90f4d5 (patch) | |
tree | f9b5f6da962f1e1320de0d211db86d80a3c9752a | |
parent | 4ff9295f462c4f753902e6e520f645cad305aec6 (diff) | |
download | toybox-adf6f03bdd7bc19013463780d059b721bf90f4d5.tar.gz |
Tweak error message.
-rw-r--r-- | lib/xwrap.c | 2 |
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; } |