summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbdi.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2008-06-21 22:24:46 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2008-06-21 22:24:46 +0000
commit859bacba1b3b54eb8b1037506b7aca776c4a1b32 (patch)
tree11ec2c85863f2702c369661bb5d845470ed24fd2 /sys/dev/usb/usbdi.c
parent06d28616f783fe971b575081a65611fd631ec04d (diff)
print the correct function name.
Diffstat (limited to 'sys/dev/usb/usbdi.c')
-rw-r--r--sys/dev/usb/usbdi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c
index eed4a617f61..7dd5ef889a7 100644
--- a/sys/dev/usb/usbdi.c
+++ b/sys/dev/usb/usbdi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdi.c,v 1.34 2007/10/11 18:30:50 deraadt Exp $ */
+/* $OpenBSD: usbdi.c,v 1.35 2008/06/21 22:24:45 fgsch Exp $ */
/* $NetBSD: usbdi.c,v 1.103 2002/09/27 15:37:38 provos Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdi.c,v 1.28 1999/11/17 22:33:49 n_hibma Exp $ */
@@ -753,7 +753,7 @@ usb_transfer_complete(usbd_xfer_handle xfer)
#ifdef DIAGNOSTIC
if (pipe == NULL) {
- printf("usbd_transfer_cb: pipe==0, xfer=%p\n", xfer);
+ printf("usbd_transfer_complete: pipe==0, xfer=%p\n", xfer);
return;
}
#endif
@@ -803,7 +803,7 @@ usb_transfer_complete(usbd_xfer_handle xfer)
xfer->done = 1;
if (!xfer->status && xfer->actlen < xfer->length &&
!(xfer->flags & USBD_SHORT_XFER_OK)) {
- DPRINTFN(-1,("usbd_transfer_cb: short transfer %d<%d\n",
+ DPRINTFN(-1,("usbd_transfer_complete: short transfer %d<%d\n",
xfer->actlen, xfer->length));
xfer->status = USBD_SHORT_XFER;
}