diff options
| author | 2005-04-21 08:47:57 +0000 | |
|---|---|---|
| committer | 2005-04-21 08:47:57 +0000 | |
| commit | 521dc94ec559914190e65d672bb6dbd0de59ddc6 (patch) | |
| tree | 3e9fa5796d2eec3de4f583019b9112b5aae965ba /sys/dev/usb/usb_subr.c | |
| parent | Fix inverted logic when testing for successful SMM handover. (diff) | |
| download | wireguard-openbsd-521dc94ec559914190e65d672bb6dbd0de59ddc6.tar.xz wireguard-openbsd-521dc94ec559914190e65d672bb6dbd0de59ddc6.zip | |
Relocate debugging printf so it describes the right thing.
Diffstat (limited to 'sys/dev/usb/usb_subr.c')
| -rw-r--r-- | sys/dev/usb/usb_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_subr.c b/sys/dev/usb/usb_subr.c index 0d8b1fbb272..989faa7e07a 100644 --- a/sys/dev/usb/usb_subr.c +++ b/sys/dev/usb/usb_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usb_subr.c,v 1.35 2005/04/16 19:45:27 deraadt Exp $ */ +/* $OpenBSD: usb_subr.c,v 1.36 2005/04/21 08:47:57 pascoe Exp $ */ /* $NetBSD: usb_subr.c,v 1.103 2003/01/10 11:19:13 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */ @@ -1132,8 +1132,8 @@ usbd_new_device(device_ptr_t parent, usbd_bus_handle bus, int depth, } /* Set the address */ - err = usbd_set_address(dev, addr); DPRINTFN(5,("usbd_new_device: setting device address=%d\n", addr)); + err = usbd_set_address(dev, addr); if (err) { DPRINTFN(-1,("usb_new_device: set address %d failed\n", addr)); err = USBD_SET_ADDR_FAILED; |
