summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2020-07-20 13:15:24 +0000
committersthen <sthen@openbsd.org>2020-07-20 13:15:24 +0000
commit619bbe5f10540bdddd525c2661afcd95b98fe1c2 (patch)
tree0d5f1a82fb3cbf240f1216dc3b0b159577c7a1e1
parentFix various whitespace and formatting issues in rasops(9). (diff)
downloadwireguard-openbsd-619bbe5f10540bdddd525c2661afcd95b98fe1c2.tar.xz
wireguard-openbsd-619bbe5f10540bdddd525c2661afcd95b98fe1c2.zip
iked: fix typo in fatalx
-rw-r--r--sbin/iked/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/parse.y b/sbin/iked/parse.y
index 60fb080ec19..e3b2adfa81b 100644
--- a/sbin/iked/parse.y
+++ b/sbin/iked/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.102 2020/06/25 13:05:58 tobhe Exp $ */
+/* $OpenBSD: parse.y,v 1.103 2020/07/20 13:15:24 sthen Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
@@ -2929,7 +2929,7 @@ create_ike(char *name, int af, uint8_t ipproto,
for (ipa = hosts->src, ipb = hosts->dst; ipa && ipb;
ipa = ipa->next, ipb = ipb->next) {
if ((flow = calloc(1, sizeof(struct iked_flow))) == NULL)
- fatalx("%s: falied to alloc flow.", __func__);
+ fatalx("%s: failed to alloc flow.", __func__);
memcpy(&flow->flow_src.addr, &ipa->address,
sizeof(ipa->address));