scd: Fix error code on failure at usb_init.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 31 May 2017 01:05:36 +0000 (10:05 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 31 May 2017 01:05:36 +0000 (10:05 +0900)
commit8defb21d34410d000c8b776e0e3a1edd04762638
treee3d9b6ebc5d3f62759b1b3b8255bd33763b99f15
parent5c33649782bf255af5a55f16eac5e85f059b00bf
scd: Fix error code on failure at usb_init.

* scd/ccid-driver.c (ccid_dev_scan): Return GPG_ERR_ENODEV.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/ccid-driver.c