NetBSD-Bugs archive

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

kern/44802: Misplaced parenthesis.



>Number:         44802
>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.132 if_ppp.c
--- sys/net/if_ppp.c    21 Aug 2010 13:19:40 -0000      1.132
+++ sys/net/if_ppp.c    26 Mar 2011 11:00:07 -0000
@@ -838,7 +838,7 @@
     case SIOCSIFMTU:
        if ((error = kauth_authorize_network(l->l_cred,
            KAUTH_NETWORK_INTERFACE, KAUTH_REQ_NETWORK_INTERFACE_SETPRIV,
-           ifp, (void *)cmd, NULL) != 0))
+           ifp, (void *)cmd, NULL)) != 0)
            break;
        /*FALLTHROUGH*/
     default:



Home | Main Index | Thread Index | Old Index