From ca2d3157656d542ceec50607d0b92f13542a0fe7 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 3 May 2010 11:10:49 +0000 Subject: Detect non operational readers. Backport from 2.0. --- scd/sc-copykeys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scd/sc-copykeys.c') diff --git a/scd/sc-copykeys.c b/scd/sc-copykeys.c index 615e4b28a..b863b01b3 100644 --- a/scd/sc-copykeys.c +++ b/scd/sc-copykeys.c @@ -139,7 +139,7 @@ main (int argc, char **argv ) if (argc != 1) usage (1); - slot = apdu_open_reader (reader_port); + slot = apdu_open_reader (reader_port, NULL); if (slot == -1) exit (1); if (apdu_connect (slot)) -- cgit v1.2.3