static void fail(int errnoval, const char *fmt, ...) { va_list al; va_start(al,fmt); xtl_logv(&logger,XTL_ERROR,errnoval,program,fmt,al); exit(-1); }
void xc_dom_printf(xc_interface *xch, const char *fmt, ...) { va_list args; if (!xch->dombuild_logger) return; va_start(args, fmt); xtl_logv(xch->dombuild_logger, XTL_DETAIL, -1, "domainbuilder", fmt, args); va_end(args); }