diff options
Diffstat (limited to 'usr.sbin/tftpd/tftpd.c')
-rw-r--r-- | usr.sbin/tftpd/tftpd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/tftpd/tftpd.c b/usr.sbin/tftpd/tftpd.c index a7e415649d2..de12d2ac3b1 100644 --- a/usr.sbin/tftpd/tftpd.c +++ b/usr.sbin/tftpd/tftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tftpd.c,v 1.38 2016/09/26 17:15:19 jca Exp $ */ +/* $OpenBSD: tftpd.c,v 1.39 2017/05/26 17:38:46 florian Exp $ */ /* * Copyright (c) 2012 David Gwynne <dlg@uq.edu.au> @@ -1633,7 +1633,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); @@ -1645,7 +1645,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); @@ -1657,7 +1657,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); } @@ -1667,7 +1667,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); } |