aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scd/apdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/apdu.c b/scd/apdu.c
index a29305556..8a3b5b411 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -3248,7 +3248,7 @@ apdu_send_direct (int slot, size_t extended_length,
}
#undef SHORT_RESULT_BUFFER_SIZE
- if ((sw = trylock_slot (slot)))
+ if ((sw = lock_slot (slot)))
{
xfree (apdu_buffer);
xfree (result_buffer);