FreeCalypso > hg > fc-pcsc-tools
changeset 35:360d07419357
better error message for non-existent reader request
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 12 Feb 2021 17:40:21 +0000 |
parents | 91bcf84a5323 |
children | 04e7e3008097 |
files | libcommon/cardconnect.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libcommon/cardconnect.c Fri Feb 12 17:39:18 2021 +0000 +++ b/libcommon/cardconnect.c Fri Feb 12 17:40:21 2021 +0000 @@ -71,7 +71,7 @@ cp += strlen(cp) + 1; } fprintf(stderr, - "error: requested reader #%u, but only %u readers found\n", + "error: requested reader #%u, but only %u reader(s) found\n", select_reader_num, num); SCardReleaseContext(hContext); exit(1);