svn commit: r190328 - head/sys/dev/usb

Andrew Thompson thompsa at FreeBSD.org
Mon Mar 23 12:10:40 PDT 2009


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. */


More information about the svn-src-all mailing list