Skip to content

Commit 1045046

Browse files
committed
Fixed logging of failed query of Device Info Descriptor
1 parent 6a63241 commit 1045046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usbio_libusb.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ func (devhandle *UsbDevHandle) usbIppBasicCaps() (UsbIppBasicCaps, error) {
532532
bufLen)
533533

534534
if rc < 0 {
535-
return 0, UsbError{"libusb_get_device_descriptor", UsbErrCode(rc)}
535+
return 0, UsbError{"libusb_get_descriptor(0x21)", UsbErrCode(rc)}
536536
}
537537

538538
if rc < 10 {

0 commit comments

Comments
 (0)