summaryrefslogtreecommitdiff
path: root/sbin/iked/pfkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/iked/pfkey.c')
-rw-r--r--sbin/iked/pfkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/pfkey.c b/sbin/iked/pfkey.c
index f034af4caf4..85a4e3f739c 100644
--- a/sbin/iked/pfkey.c
+++ b/sbin/iked/pfkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkey.c,v 1.14 2011/01/26 16:59:24 mikeb Exp $ */
+/* $OpenBSD: pfkey.c,v 1.15 2011/05/05 12:17:10 reyk Exp $ */
/* $vantronix: pfkey.c,v 1.11 2010/06/03 07:57:33 reyk Exp $ */
/*
@@ -1200,7 +1200,7 @@ pfkey_socket(void)
{
int fd;
- if (iked_process != PROC_PARENT)
+ if (privsep_process != PROC_PARENT)
fatal("pfkey_socket: called from unprivileged process");
if ((fd = socket(PF_KEY, SOCK_RAW, PF_KEY_V2)) == -1)