From 49ab6a7f314207242de461f99092bb02e21590d8 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Thu, 29 Sep 2011 11:59:34 +0000 Subject: [PATCH] raise up loggin level when PCSC context is not found (e.g. under POSIX system, pcscd is not running) --- libnfc/drivers/acr122.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnfc/drivers/acr122.c b/libnfc/drivers/acr122.c index ba36e07..68600d7 100644 --- a/libnfc/drivers/acr122.c +++ b/libnfc/drivers/acr122.c @@ -150,7 +150,7 @@ acr122_probe (nfc_device_desc_t pnddDevices[], size_t szDevices, size_t * pszDev // Test if context succeeded if (!(pscc = acr122_get_scardcontext ())) { - log_put (LOG_CATEGORY, NFC_PRIORITY_TRACE, "%s", "PCSC context not found"); + log_put (LOG_CATEGORY, NFC_PRIORITY_WARN, "%s", "PCSC context not found (make sure PCSC daemon is running)."); return false; } // Retrieve the string array of all available pcsc readers