NetBSD-Bugs archive

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

port-hpcmips/42526: Missing parenthesis in sys/arch/hpcmips/vr/vr4181aiu.c .



>Number:         42526
>Category:       port-hpcmips
>Synopsis:       Missing parenthesis in sys/arch/hpcmips/vr/vr4181aiu.c .
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-hpcmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 27 08:30:01 +0000 2009
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Missing parenthesis found with cppcheck.
>How-To-Repeat:
diff -u -r1.6 vr4181aiu.c
--- sys/arch/hpcmips/vr/vr4181aiu.c     11 Jun 2008 23:53:15 -0000      1.6
+++ sys/arch/hpcmips/vr/vr4181aiu.c     1 Dec 2009 09:10:48 -0000
@@ -235,7 +235,7 @@
 {
        struct vr4181aiu_softc  *sc;
 
-       sc = device_lookup_private(&vr4181aiu_cd, minor(dev);
+       sc = device_lookup_private(&vr4181aiu_cd, minor(dev));
        if (sc == NULL)
                return ENXIO;

>Fix:



Home | Main Index | Thread Index | Old Index