aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scd/app.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/app.c b/scd/app.c
index cbcd3e4de..0f36409b2 100644
--- a/scd/app.c
+++ b/scd/app.c
@@ -223,6 +223,7 @@ check_conflict (int slot, const char *name)
gpg_error_t
check_application_conflict (ctrl_t ctrl, const char *name)
{
+ int slot = ctrl->reader_slot;
gpg_error_t err;
if (slot < 0 || slot >= DIM (lock_table))