]> sigrok.org Git - libsigrok.git/commit
scpi_usbtmc_libusb.c: Fix two error checks.
authorUwe Hermann <redacted>
Tue, 11 Mar 2014 18:46:39 +0000 (19:46 +0100)
committerUwe Hermann <redacted>
Tue, 11 Mar 2014 18:48:47 +0000 (19:48 +0100)
commit9ad05e6cd28e5a4c7cc4f38d2dcb561a14bb5563
tree14dec1966ecb2e5458214172e478cd635a61adde
parentd8cbd659ce2e24428c7e403eeebd50ad4a992caa
scpi_usbtmc_libusb.c: Fix two error checks.

Two error checks had a missing "ret = ", which lead to an incorrect
value being passed to libusb_error_name().

Also, lower the level for those messages from sr_err() to sr_dbg()
since they're not fatal.
hardware/common/scpi_usbtmc_libusb.c