From 20afda217f4d6ccd1c3fdf3efb413a9588c29fe7 Mon Sep 17 00:00:00 2001 From: Luka Logar Date: Fri, 21 Jun 2024 13:27:13 +0200 Subject: [PATCH] Verbosify sc_card_ctl() invocation Currently it's hard to know which SC_CARDCTL_* parameter was sc_card_ctl() called with --- src/libopensc/card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libopensc/card.c b/src/libopensc/card.c index 7f4ef98f91..6978639565 100644 --- a/src/libopensc/card.c +++ b/src/libopensc/card.c @@ -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);