diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-12-07 12:13:52 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-12-07 12:13:52 +0000 |
commit | 6881863d0638e2cd9f7c12d49f77c398683d5967 (patch) | |
tree | 3079d9d5c595c599d041731e485909445d0909dd /usr.sbin | |
parent | 21248b675b1a5416cfe19ce0f269538fcf7a742d (diff) |
sync with vmd
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/httpd/log.c | 6 | ||||
-rw-r--r-- | usr.sbin/relayd/log.c | 6 | ||||
-rw-r--r-- | usr.sbin/snmpd/log.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/httpd/log.c b/usr.sbin/httpd/log.c index 543c467d2ac..1f6ff49c8e9 100644 --- a/usr.sbin/httpd/log.c +++ b/usr.sbin/httpd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.9 2015/11/22 13:27:13 reyk Exp $ */ +/* $OpenBSD: log.c,v 1.10 2015/12/07 12:13:51 reyk Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -176,10 +176,10 @@ vfatal(const char *emsg, va_list ap) sep = ""; } if (errno) - logit(LOG_CRIT, "fatal in %s: %s%s%s", + logit(LOG_CRIT, "%s: %s%s%s", log_procname, s, sep, strerror(errno)); else - logit(LOG_CRIT, "fatal in %s%s%s", log_procname, sep, s); + logit(LOG_CRIT, "%s%s%s", log_procname, sep, s); } void diff --git a/usr.sbin/relayd/log.c b/usr.sbin/relayd/log.c index 070065ac2f7..35f1bb8a7c2 100644 --- a/usr.sbin/relayd/log.c +++ b/usr.sbin/relayd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.30 2015/11/22 13:27:13 reyk Exp $ */ +/* $OpenBSD: log.c,v 1.31 2015/12/07 12:13:51 reyk Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -176,10 +176,10 @@ vfatal(const char *emsg, va_list ap) sep = ""; } if (errno) - logit(LOG_CRIT, "fatal in %s: %s%s%s", + logit(LOG_CRIT, "%s: %s%s%s", log_procname, s, sep, strerror(errno)); else - logit(LOG_CRIT, "fatal in %s%s%s", log_procname, sep, s); + logit(LOG_CRIT, "%s%s%s", log_procname, sep, s); } void diff --git a/usr.sbin/snmpd/log.c b/usr.sbin/snmpd/log.c index 2ebd17d0dfe..ae5dc9bf721 100644 --- a/usr.sbin/snmpd/log.c +++ b/usr.sbin/snmpd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.11 2015/11/22 13:27:13 reyk Exp $ */ +/* $OpenBSD: log.c,v 1.12 2015/12/07 12:13:51 reyk Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -176,10 +176,10 @@ vfatal(const char *emsg, va_list ap) sep = ""; } if (errno) - logit(LOG_CRIT, "fatal in %s: %s%s%s", + logit(LOG_CRIT, "%s: %s%s%s", log_procname, s, sep, strerror(errno)); else - logit(LOG_CRIT, "fatal in %s%s%s", log_procname, sep, s); + logit(LOG_CRIT, "%s%s%s", log_procname, sep, s); } void |