scd: Fix error handling with libusb-compat library.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 4 Nov 2015 12:07:49 +0000 (21:07 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 4 Nov 2015 12:07:49 +0000 (21:07 +0900)
commit1e94a672efb8bf66f416bc63bf6670e509a21fe5
tree5f5a545756f2d1c4f22d20363a1e28ba58cf558e
parentc5a9fedba66361ddd9f596528882750068543298
scd: Fix error handling with libusb-compat library.

* scd/ccid-driver.c (bulk_out): Use LIBUSB_ERRNO_NO_SUCH_DEVICE.

--

With libusb-compat library, the error is different than original
libusb.  (The libusb-compat library is used by Fedora.)
scd/ccid-driver.c