Date: Mon, 23 Mar 2009 19:10:38 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r190328 - head/sys/dev/usb Message-ID: <200903231910.n2NJAcv6018110@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thompsa Date: Mon Mar 23 19:10:38 2009 New Revision: 190328 URL: http://svn.freebsd.org/changeset/base/190328 Log: Fix order of debug printf items, addr and config# were swapped. Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/usb_device.c ============================================================================== --- head/sys/dev/usb/usb_device.c Mon Mar 23 18:13:18 2009 (r190327) +++ head/sys/dev/usb/usb_device.c Mon Mar 23 19:10:38 2009 (r190328) @@ -628,7 +628,7 @@ usb2_set_config_index(struct usb2_device DPRINTF("udev=%p cdesc=%p (addr %d) cno=%d attr=0x%02x, " "selfpowered=%d, power=%d\n", udev, cdp, - cdp->bConfigurationValue, udev->address, cdp->bmAttributes, + udev->address, cdp->bConfigurationValue, cdp->bmAttributes, selfpowered, cdp->bMaxPower * 2); /* Check if we have enough power. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903231910.n2NJAcv6018110>