NetBSD-Bugs archive

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

kern/43544: Variable out_label not set in umidi.c .



>Number:         43544
>Category:       kern
>Synopsis:       Variable out_label not set in umidi.c .
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 30 10:50:00 +0000 2010
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Variable out_label not set in umidi.c .
>How-To-Repeat:

>Fix:
diff -u -r1.40 umidi.c
--- sys/dev/usb/umidi.c 12 Nov 2009 19:58:27 -0000      1.40
+++ sys/dev/usb/umidi.c 30 Jun 2010 07:58:00 -0000
@@ -1301,7 +1301,7 @@
                    md->out_jack->cable_number,
                    md->out_jack->endpoint->addr);
        else
-               in_label[0] = '\0';
+               out_label[0] = '\0';
 
        unit_label = USBDEVNAME(sc->sc_dev);
        



Home | Main Index | Thread Index | Old Index