From 6881863d0638e2cd9f7c12d49f77c398683d5967 Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Mon, 7 Dec 2015 12:13:52 +0000 Subject: sync with vmd --- sbin/iked/log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin') 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 @@ -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 -- cgit v1.2.3