Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Actually grab the err value being reported ...
details: https://anonhg.NetBSD.org/src/rev/89b590fd3929
branches: nick-nhusb
changeset: 334134:89b590fd3929
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Mar 06 12:52:09 2015 +0000
description:
Actually grab the err value being reported in USBHIST_LOG.
Pointed out by Takahiro HAYASHI. Thanks.
diffstat:
sys/dev/usb/usbdi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2db41b3e3c59 -r 89b590fd3929 sys/dev/usb/usbdi.c
--- a/sys/dev/usb/usbdi.c Thu Mar 05 20:57:07 2015 +0000
+++ b/sys/dev/usb/usbdi.c Fri Mar 06 12:52:09 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usbdi.c,v 1.162.2.14 2015/03/05 12:39:08 skrll Exp $ */
+/* $NetBSD: usbdi.c,v 1.162.2.15 2015/03/06 12:52:09 skrll Exp $ */
/*
* Copyright (c) 1998, 2012 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.162.2.14 2015/03/05 12:39:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.162.2.15 2015/03/06 12:52:09 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -339,7 +339,7 @@
/* Sync transfer, wait for completion. */
if (err != USBD_IN_PROGRESS) {
USBHIST_LOG(usbdebug, "<- done xfer %p, err %d (complete/error)", xfer,
- 0, 0, 0);
+ err, 0, 0);
return err;
}
usbd_lock_pipe(pipe);
Home |
Main Index |
Thread Index |
Old Index