diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2012-07-07 20:29:24 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2012-07-07 20:29:24 +0000 |
commit | 1b38299b6666f307c1cb4971daf837c72a843d83 (patch) | |
tree | d231a97356233f09e3f24aefec9246750e166350 /sbin | |
parent | e260cb268debe8461a9a4a911123e61262bf0407 (diff) |
copy&paste mistake in error message
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ipsecctl/parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipsecctl/parse.y b/sbin/ipsecctl/parse.y index 1d096a6c0ae..f7fe81f7480 100644 --- a/sbin/ipsecctl/parse.y +++ b/sbin/ipsecctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.153 2012/06/30 14:51:31 naddy Exp $ */ +/* $OpenBSD: parse.y,v 1.154 2012/07/07 20:29:23 naddy Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -740,7 +740,7 @@ phase2mode : /* empty */ { /* We create just an empty quick mode */ if ((p2 = calloc(1, sizeof(struct ike_mode))) == NULL) - err(1, "phase1mode: calloc"); + err(1, "phase2mode: calloc"); p2->ike_exch = IKE_QM; $$ = p2; } @@ -748,7 +748,7 @@ phase2mode : /* empty */ { struct ike_mode *p2; if ((p2 = calloc(1, sizeof(struct ike_mode))) == NULL) - err(1, "phase1mode: calloc"); + err(1, "phase2mode: calloc"); p2->xfs = $2; p2->life = $3; p2->ike_exch = IKE_QM; |