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 Minor USBHIST_LOG changes
details: https://anonhg.NetBSD.org/src/rev/944640b56f16
branches: nick-nhusb
changeset: 334132:944640b56f16
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Mar 05 12:39:08 2015 +0000
description:
Minor USBHIST_LOG changes
diffstat:
sys/dev/usb/usbdi.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (37 lines):
diff -r af6d90fcc60a -r 944640b56f16 sys/dev/usb/usbdi.c
--- a/sys/dev/usb/usbdi.c Thu Mar 05 09:06:20 2015 +0000
+++ b/sys/dev/usb/usbdi.c Thu Mar 05 12:39:08 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usbdi.c,v 1.162.2.13 2015/03/05 09:06:20 skrll Exp $ */
+/* $NetBSD: usbdi.c,v 1.162.2.14 2015/03/05 12:39:08 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.13 2015/03/05 09:06:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.162.2.14 2015/03/05 12:39:08 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -338,7 +338,7 @@
/* Sync transfer, wait for completion. */
if (err != USBD_IN_PROGRESS) {
- USBHIST_LOG(usbdebug, "<- done xfer %p, not in progress", xfer,
+ USBHIST_LOG(usbdebug, "<- done xfer %p, err %d (complete/error)", xfer,
0, 0, 0);
return err;
}
@@ -1145,8 +1145,7 @@
bad:
if (err) {
- USBHIST_LOG(usbdebug, "returning err = %s",
- usbd_errstr(err), 0, 0, 0);
+ USBHIST_LOG(usbdebug, "returning err = %d", err, 0, 0, 0);
}
usbd_free_xfer(xfer);
return err;
Home |
Main Index |
Thread Index |
Old Index