Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: [nick-nhusb] src/sys/dev/usb



On 2015/03/05 21:39, Nick Hudson wrote:
Modified Files:
	src/sys/dev/usb [nick-nhusb]: usbdi.c

Log Message:
Minor USBHIST_LOG changes

	/* 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;
	}

Do you want to print 'err' instead of 0?

BTW, typeof err is usbd_status so ENOMEM is not suitable.


--
t-hash


Home | Main Index | Thread Index | Old Index