From: Pete Batard Date: Mon, 28 Jan 2013 23:51:53 +0000 (+0000) Subject: Windows: Display error code in default case of windows_transfer_callback X-Git-Tag: upstream/1.0.21~554 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d8e1270ce5256fc894f130d2ea113d6d78d6cbf;p=platform%2Fupstream%2Flibusb.git Windows: Display error code in default case of windows_transfer_callback --- diff --git a/libusb/os/windows_usb.c b/libusb/os/windows_usb.c index 341f4ed..7b459a1 100644 --- a/libusb/os/windows_usb.c +++ b/libusb/os/windows_usb.c @@ -2056,7 +2056,7 @@ static void windows_transfer_callback(struct usbi_transfer *itransfer, uint32_t } break; default: - usbi_err(ITRANSFER_CTX(itransfer), "detected I/O error: %s", windows_error_str(0)); + usbi_err(ITRANSFER_CTX(itransfer), "detected I/O error %d: %s", io_result, windows_error_str(0)); status = LIBUSB_TRANSFER_ERROR; break; } diff --git a/libusb/version_nano.h b/libusb/version_nano.h index f04d929..7e52a56 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10597 +#define LIBUSB_NANO 10598