NetBSD-Bugs archive

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

port-vax/44816: Increment of boolean variable.



>Number:         44816
>Category:       port-vax
>Synopsis:       Increment of boolean variable.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 02 10:10:00 +0000 2011
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Increment of boolean variable in sbi.c.
>How-To-Repeat:

>Fix:
diff -u -r1.36 sbi.c
--- sys/arch/vax/vax/sbi.c      14 Dec 2010 23:44:49 -0000      1.36
+++ sys/arch/vax/vax/sbi.c      31 Mar 2011 06:01:39 -0000
@@ -76,7 +76,7 @@
                case NEX_CI:
                        aprint_naive("ci at %s", name);
                        aprint_normal("ci at %s", name);
-                       unsupp++;
+                       unsupp = true;
                        break;
                default:
                        aprint_naive("unknown device 0x%x at %s",



Home | Main Index | Thread Index | Old Index