From 8729f35510550495c830fcf54f03da9a42d0a751 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 15 Dec 2015 09:56:08 +0900 Subject: scd: Fix commit 9a9bfd77. * scd/app.c (check_application_conflict): Get SLOT. --- scd/app.c | 1 + 1 file changed, 1 insertion(+) 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)) -- cgit v1.2.3