NetBSD Problem Report #43544

From www@NetBSD.org  Wed Jun 30 10:49:09 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id DC4BA63BA69
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 30 Jun 2010 10:49:09 +0000 (UTC)
Message-Id: <20100630104909.A27AB63BA68@www.NetBSD.org>
Date: Wed, 30 Jun 2010 10:49:09 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Variable out_label not set in umidi.c .
X-Send-Pr-Version: www-1.0

>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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 30 10:50:00 +0000 2010
>Closed-Date:    Fri Oct 15 05:48:09 +0000 2010
>Last-Modified:  Fri Oct 15 05:48:09 +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);


>Release-Note:

>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/43544 CVS commit: src/sys/dev/usb
Date: Fri, 15 Oct 2010 05:26:10 +0000

 Module Name:	src
 Committed By:	dholland
 Date:		Fri Oct 15 05:26:09 UTC 2010

 Modified Files:
 	src/sys/dev/usb: umidi.c

 Log Message:
 Fix cut&paste code, from Henning Petersen in PR 43544.


 To generate a diff of this commit:
 cvs rdiff -u -r1.40 -r1.41 src/sys/dev/usb/umidi.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 15 Oct 2010 05:48:09 +0000
State-Changed-Why:
fixed, thanks


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.