summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMoritz Jodeit <moritz@cvs.openbsd.org>2007-04-02 08:16:33 +0000
committerMoritz Jodeit <moritz@cvs.openbsd.org>2007-04-02 08:16:33 +0000
commitd15b9ae53a44ced47f4bb732a599f17a8b87e229 (patch)
tree86a1f0bf1cff9e40280c2a1a7e0815f04cfbb1e4 /sbin
parentb93b9dba049a45b4932e78625948898cc344ed36 (diff)
Don't append the errno string in a log_error() call,
since it will be automatically be appended. ok hshoexer@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/monitor.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/isakmpd/monitor.c b/sbin/isakmpd/monitor.c
index 650105f2d62..92c3d75eedf 100644
--- a/sbin/isakmpd/monitor.c
+++ b/sbin/isakmpd/monitor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor.c,v 1.67 2007/04/02 08:11:59 moritz Exp $ */
+/* $OpenBSD: monitor.c,v 1.68 2007/04/02 08:16:32 moritz Exp $ */
/*
* Copyright (c) 2003 Håkan Olsson. All rights reserved.
@@ -182,8 +182,7 @@ monitor_pf_key_v2_open(void)
}
pf_key_v2_socket = mm_receive_fd(m_state.s);
if (pf_key_v2_socket < 0) {
- log_error("monitor_pf_key_v2_open: mm_receive_fd() failed: %s",
- strerror(errno));
+ log_error("monitor_pf_key_v2_open: mm_receive_fd() failed");
return -1;
}