Skip to content

Commit

Permalink
Fixed logging of failed query of Device Info Descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpevzner committed Jun 5, 2021
1 parent 6a63241 commit 1045046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usbio_libusb.go
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ func (devhandle *UsbDevHandle) usbIppBasicCaps() (UsbIppBasicCaps, error) {
bufLen)

if rc < 0 {
return 0, UsbError{"libusb_get_device_descriptor", UsbErrCode(rc)}
return 0, UsbError{"libusb_get_descriptor(0x21)", UsbErrCode(rc)}
}

if rc < 10 {
Expand Down

0 comments on commit 1045046

Please sign in to comment.