NetBSD-Bugs archive

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

kern/44799: Misplaced parenthesis.



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

>Fix:
diff -u -r1.48 if_wpi.c
--- sys/dev/pci/if_wpi.c        15 Nov 2010 05:57:39 -0000      1.48
+++ sys/dev/pci/if_wpi.c        26 Mar 2011 11:14:12 -0000
@@ -1147,7 +1147,7 @@
        }
 
        /* load firmware image from disk */
-       if ((error = firmware_open("if_wpi","iwlwifi-3945.ucode", &fw) != 0)) {
+       if ((error = firmware_open("if_wpi","iwlwifi-3945.ucode", &fw)) != 0) {
                aprint_error_dev(sc->sc_dev, "could not read firmware file\n");
                goto fail1;
        }



Home | Main Index | Thread Index | Old Index