X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=string.c;h=8c97ccf75e22397fe3929e84340a05f00b43003c;hp=bf10783442df4dc97644f58b0fca309d52ed3163;hb=75facba4cf88fd781d99199cc6098b596562b4ac;hpb=ea689d919fd6fdbfaba2de9d1cd207e033c319fd 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;