stardate 93370.16: a whitespace appears to have entered our quadrant...
authorderaadt <deraadt@openbsd.org>
Fri, 9 Oct 2015 02:44:22 +0000 (02:44 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 9 Oct 2015 02:44:22 +0000 (02:44 +0000)
sys/kern/kern_pledge.c

index f5a6ea2..4fc2091 100644 (file)
@@ -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;
                }