projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
aac: fix some signedness warnings
[paraslash.git]
/
string.c
diff --git
a/string.c
b/string.c
index
91f96bd
..
0a55ed2
100644
(file)
--- a/
string.c
+++ b/
string.c
@@
-49,7
+49,8
@@
__must_check __malloc void *para_realloc(void *p, size_t size)
* to realloc is equivalent to malloc(size)
*/
if (!(p = realloc(p, size))) {
- PARA_EMERG_LOG("%s", "realloc failed, aborting\n");
+ PARA_EMERG_LOG("realloc failed (size = %zu), aborting\n",
+ size);
exit(EXIT_FAILURE);
}
return p;