summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-12-12 09:44:07 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-12-12 09:44:07 +0000
commit1374f6b9f7bd5965ae588d167cbb0bceb7230c7b (patch)
treea6308b94cbb5f8a270e2274c7923297d5a077292
parent3be35291865c2af4807367cdcdc4c6e8a45d2536 (diff)
use err() instead of errx()
-rw-r--r--sbin/ipsecctl/ike.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsecctl/ike.c b/sbin/ipsecctl/ike.c
index 3237ff89618..abef651287d 100644
--- a/sbin/ipsecctl/ike.c
+++ b/sbin/ipsecctl/ike.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike.c,v 1.10 2005/11/24 11:52:07 hshoexer Exp $ */
+/* $OpenBSD: ike.c,v 1.11 2005/12/12 09:44:06 hshoexer Exp $ */
/*
* Copyright (c) 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -361,7 +361,7 @@ ike_ipsec_establish(int action, struct ipsec_rule *r)
int ret = 0;
if ((fd = fopen("/var/run/isakmpd.fifo", "w")) == NULL)
- errx(1, "ike_ipsec_establish: fopen");
+ err(1, "ike_ipsec_establish: fopen");
switch (action) {
case ACTION_ADD: