summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2013-12-15 14:28:36 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2013-12-15 14:28:36 +0000
commit1ed93f1a98b9c6e50a404434f1bc2221b457546f (patch)
treed5117709971666d6e0a2debcc357ed936753b0c5 /sys
parent8c70ecbdfd54a068c4679801134340a61a67f792 (diff)
Fix ubt compilation after my last usbd_dying sprint.
Report and patch from Rafael Neves, thanks!
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/ubt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ubt.c b/sys/dev/usb/ubt.c
index 72e7f8f3cf3..575e81c73e7 100644
--- a/sys/dev/usb/ubt.c
+++ b/sys/dev/usb/ubt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ubt.c,v 1.25 2013/11/06 17:04:47 pirofti Exp $ */
+/* $OpenBSD: ubt.c,v 1.26 2013/12/15 14:28:35 pirofti Exp $ */
/* $NetBSD: ubt.c,v 1.35 2008/07/28 14:19:26 drochner Exp $ */
/*-
@@ -951,7 +951,7 @@ ubt_xmit_cmd_complete(struct usbd_xfer *xfer, void *h, usbd_status status)
return;
}
- if (usbd_is_dying(sc->sc_udev))
+ if (usbd_is_dying(sc->sc_udev)) {
DPRINTF("dying\n");
return;
}