summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_pledge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c
index f5a6ea2dd9d..4fc20914294 100644
--- a/sys/kern/kern_pledge.c
+++ b/sys/kern/kern_pledge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_pledge.c,v 1.2 2015/10/09 02:36:46 deraadt Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.3 2015/10/09 02:44:22 deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -1139,7 +1139,7 @@ pledge_setsockopt_check(struct proc *p, int level, int optname)
case IPV6_MULTICAST_IF:
case IPV6_JOIN_GROUP:
case IPV6_LEAVE_GROUP:
- if (p->p_p->ps_pledge & PLEDGE_MCAST))
+ if (p->p_p->ps_pledge & PLEDGE_MCAST)
return (0);
break;
}