X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=str.c;fp=str.c;h=4bca765e9427ebf67b293b22a5dd7a8bf8e920cb;hp=e2b7f303ae4d717850a561bc9d4338495b0f6d3f;hb=6c76799c7334a12926dc1cf0c32670423cbc954f;hpb=46cbddf465bd66ba1d5c4bcc780ae0d65abd7f73 diff --git a/str.c b/str.c index e2b7f30..4bca765 100644 --- a/str.c +++ b/str.c @@ -72,8 +72,8 @@ __must_check __malloc void *dss_realloc(void *p, size_t size) */ assert(size); if (!(p = realloc(p, size))) { - DSS_EMERG_LOG("realloc failed (size = %zu), aborting\n", - size); + DSS_EMERG_LOG(("realloc failed (size = %zu), aborting\n", + size)); exit(EXIT_FAILURE); } return p; @@ -98,8 +98,8 @@ __must_check __malloc void *dss_malloc(size_t size) p = malloc(size); if (!p) { - DSS_EMERG_LOG("malloc failed (size = %zu), aborting\n", - size); + DSS_EMERG_LOG(("malloc failed (size = %zu), aborting\n", + size)); exit(EXIT_FAILURE); } return p; @@ -145,7 +145,7 @@ __must_check __malloc char *dss_strdup(const char *s) if ((ret = strdup(s? s: ""))) return ret; - DSS_EMERG_LOG("strdup failed, aborting\n"); + DSS_EMERG_LOG(("strdup failed, aborting\n")); exit(EXIT_FAILURE); }