/*
- * Copyright (C) 2004-2010 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2004-2010 Andre Noll <maan@tuebingen.mpg.de>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
*/
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;
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;
if ((ret = strdup(s? s: "")))
return ret;
- DSS_EMERG_LOG("strdup failed, aborting\n");
+ DSS_EMERG_LOG(("strdup failed, aborting\n"));
exit(EXIT_FAILURE);
}
*/
unsigned split_args(char *args, char *** const argv_ptr, const char *delim)
{
- char *p = args;
+ char *p;
char **argv;
size_t n = 0, i, j;