diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-03-23 19:10:38 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-03-23 19:10:38 +0000 |
commit | 2ebb70aa7f501fece85c61a8cc45d77bfb869e7d (patch) | |
tree | 886b5f08d245edb328cd30930458bd5463cb9774 /sys/dev/usb/usb_device.c | |
parent | 0afbff15b43d30d4678da090e29fcf63463cfc41 (diff) | |
download | FreeBSD-src-2ebb70aa7f501fece85c61a8cc45d77bfb869e7d.zip FreeBSD-src-2ebb70aa7f501fece85c61a8cc45d77bfb869e7d.tar.gz |
Fix order of debug printf items, addr and config# were swapped.
Diffstat (limited to 'sys/dev/usb/usb_device.c')
-rw-r--r-- | sys/dev/usb/usb_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_device.c b/sys/dev/usb/usb_device.c index f9c6a2e..115152e 100644 --- a/sys/dev/usb/usb_device.c +++ b/sys/dev/usb/usb_device.c @@ -628,7 +628,7 @@ usb2_set_config_index(struct usb2_device *udev, uint8_t index) 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. */ |