NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/44805: Misplaced parenthesis.



>Number:         44805
>Category:       kern
>Synopsis:       Misplaced parenthesis.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 30 12:50:01 +0000 2011
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Misplaced parenthesis.
>How-To-Repeat:

>Fix:
diff -u -r1.54 ieee80211_ioctl.c
--- sys/net80211/ieee80211_ioctl.c      18 Apr 2009 14:58:05 -0000      1.54
+++ sys/net80211/ieee80211_ioctl.c      26 Mar 2011 11:06:35 -0000
@@ -2615,7 +2615,7 @@
                if ((error = kauth_authorize_network(curlwp->l_cred,
                    KAUTH_NETWORK_INTERFACE,
                    KAUTH_REQ_NETWORK_INTERFACE_SETPRIV, ifp, (void *)cmd,
-                   NULL) != 0))
+                   NULL)) != 0)
                        break;
                error = ieee80211_ioctl_set80211(ic, cmd,
                                (struct ieee80211req *) data);



Home | Main Index | Thread Index | Old Index