X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=string.c;h=8c97ccf75e22397fe3929e84340a05f00b43003c;hp=bf10783442df4dc97644f58b0fca309d52ed3163;hb=61250cf03241bf73662dac3753e44660a572fa2a;hpb=97f53e18953fc2013c0b14f0261ac385e45b0284 diff --git a/string.c b/string.c index bf107834..8c97ccf7 100644 --- a/string.c +++ b/string.c @@ -63,7 +63,8 @@ __must_check __malloc void *para_malloc(size_t size) void *p = malloc(size); if (!p) { - PARA_EMERG_LOG("%s", "malloc failed, aborting\n"); + PARA_EMERG_LOG("malloc failed (size = %zu), aborting\n", + size); exit(EXIT_FAILURE); } return p;