aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--slowcgi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/slowcgi.c b/slowcgi.c
index dec4df8..b8629d2 100644
--- a/slowcgi.c
+++ b/slowcgi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: slowcgi.c,v 1.50 2016/09/04 14:40:34 florian Exp $ */
+/* $OpenBSD: slowcgi.c,v 1.51 2017/05/26 17:38:46 florian Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
* Copyright (c) 2013 Florian Obser <florian@openbsd.org>
@@ -1236,7 +1236,7 @@ syslog_err(int ecode, const char *fmt, ...)
va_list ap;
va_start(ap, fmt);
- syslog_vstrerror(errno, LOG_EMERG, fmt, ap);
+ syslog_vstrerror(errno, LOG_CRIT, fmt, ap);
va_end(ap);
exit(ecode);
}
@@ -1247,7 +1247,7 @@ syslog_errx(int ecode, const char *fmt, ...)
va_list ap;
va_start(ap, fmt);
- vsyslog(LOG_WARNING, fmt, ap);
+ vsyslog(LOG_CRIT, fmt, ap);
va_end(ap);
exit(ecode);
}
@@ -1258,7 +1258,7 @@ syslog_warn(const char *fmt, ...)
va_list ap;
va_start(ap, fmt);
- syslog_vstrerror(errno, LOG_WARNING, fmt, ap);
+ syslog_vstrerror(errno, LOG_ERR, fmt, ap);
va_end(ap);
}
@@ -1268,7 +1268,7 @@ syslog_warnx(const char *fmt, ...)
va_list ap;
va_start(ap, fmt);
- vsyslog(LOG_WARNING, fmt, ap);
+ vsyslog(LOG_ERR, fmt, ap);
va_end(ap);
}