Skip to content

Commit

Permalink
Verbosify sc_card_ctl() invocation
Browse files Browse the repository at this point in the history
Currently it's hard to know which SC_CARDCTL_* parameter was sc_card_ctl() called with
  • Loading branch information
llogar committed Jun 21, 2024
1 parent 1685f37 commit 20afda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libopensc/card.c
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ sc_card_ctl(sc_card_t *card, unsigned long cmd, void *args)
if (card == NULL) {
return SC_ERROR_INVALID_ARGUMENTS;
}
LOG_FUNC_CALLED(card->ctx);
sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL, "called with cmd=%lu\n", cmd);

if (card->ops->card_ctl != NULL)
r = card->ops->card_ctl(card, cmd, args);
Expand Down

0 comments on commit 20afda2

Please sign in to comment.