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 /sbin | |
parent | 21248b675b1a5416cfe19ce0f269538fcf7a742d (diff) |
sync with vmd
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/iked/log.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/iked/log.c b/sbin/iked/log.c index a8bae17d9b2..7b1783b4a32 100644 --- a/sbin/iked/log.c +++ b/sbin/iked/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.7 2015/11/22 13:27:13 reyk Exp $ */ +/* $OpenBSD: log.c,v 1.8 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 |