s = str_append (LOC, "\n");
}
-#define DUMP(FD) write(FD, buf, s-buf);
+#define DUMP(FD) write_wrapper(FD, buf, s-buf);
/* If no file logging configured, try to write to fallback log file. */
if (logfile_fd >= 0)
DUMP(logfile_fd)
/* is there enough space for a new fd? */
assert (queuepos < m->handler.pfdsize);
- thread = thread_get (m, type, func, arg, funcname, debugargpass);
+ thread = thread_get (m, type, func, arg, debugargpass);
m->handler.pfds[queuepos].fd = fd;
m->handler.pfds[queuepos].events |= event;
if (queuepos == m->handler.pfdcount)