NetBSD-Bugs archive

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

kern/44803: Misplaced parenthesis.



>Number:         44803
>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:45:00 +0000 2011
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Misplaced parenthesis.
>How-To-Repeat:

>Fix:
diff -u -r1.152 atw.c
--- sys/dev/ic/atw.c    13 Nov 2010 08:54:23 -0000      1.152
+++ sys/dev/ic/atw.c    26 Mar 2011 11:11:22 -0000
@@ -3890,7 +3890,7 @@
                        if ((error = kauth_authorize_network(curlwp->l_cred,
                            KAUTH_NETWORK_INTERFACE,
                            KAUTH_REQ_NETWORK_INTERFACE_SETPRIV, ifp,
-                           (void *)cmd, NULL) != 0))
+                           (void *)cmd, NULL)) != 0)
                                break;
                        if (!(IEEE80211_FRAG_MIN <= ireq->i_val &&
                              ireq->i_val <= IEEE80211_FRAG_MAX))



Home | Main Index | Thread Index | Old Index