Actually print SCardControl result, thanks to martin

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3677 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
alonbl 2009-04-03 19:54:42 +00:00
parent ef4b1e1410
commit bfc69348f7
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ static int pcsc_connect(sc_reader_t *reader, sc_slot_info_t *slot)
rv = priv->gpriv->SCardControl(pslot->pcsc_card, CM_IOCTL_GET_FEATURE_REQUEST, NULL,
0, feature_buf, sizeof(feature_buf), &feature_len);
if (rv != SCARD_S_SUCCESS) {
sc_debug(reader->ctx, "SCardControl failed", rv);
sc_debug(reader->ctx, "SCardControl failed %08x", rv);
}
else {
if ((feature_len % sizeof(PCSC_TLV_STRUCTURE)) != 0) {