}
if (highlight)
- IOVEC_SET_STRING(iovec[n++], ANSI_HIGHLIGHT_ON);
+ IOVEC_SET_STRING(iovec[n++], ANSI_HIGHLIGHT_RED_ON);
IOVEC_SET_STRING(iovec[n++], buffer);
if (highlight)
IOVEC_SET_STRING(iovec[n++], ANSI_HIGHLIGHT_OFF);
const char *format, ...) {
static char buffer[LINE_MAX];
- int saved_errno = errno;
va_list ap;
va_start(ap, format);
log_dispatch(LOG_CRIT, file, line, func, buffer);
abort();
-
- /* If the user chose to ignore this SIGABRT, we are happy to go on, as if nothing happened. */
- errno = saved_errno;
}
int log_set_target_from_string(const char *e) {