diff options
Diffstat (limited to 'usr.sbin/tftp-proxy/tftp-proxy.c')
| -rw-r--r-- | usr.sbin/tftp-proxy/tftp-proxy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/tftp-proxy/tftp-proxy.c b/usr.sbin/tftp-proxy/tftp-proxy.c index 030f9c8bfca..150428c1de6 100644 --- a/usr.sbin/tftp-proxy/tftp-proxy.c +++ b/usr.sbin/tftp-proxy/tftp-proxy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tftp-proxy.c,v 1.19 2016/09/04 14:41:16 florian Exp $ +/* $OpenBSD: tftp-proxy.c,v 1.20 2017/05/26 17:38:46 florian Exp $ * * Copyright (c) 2005 DLS Internet Services * Copyright (c) 2004, 2005 Camiel Dobbelaar, <cd@sentia.nl> @@ -980,7 +980,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); @@ -992,7 +992,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); @@ -1004,7 +1004,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); } @@ -1014,7 +1014,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); } |
