From d98b5d00abc5927f0df2612ea8f4676c26bb143f Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Wed, 16 May 2012 19:13:16 +0000 Subject: [PATCH] Fix the fix in revision r1322 clang warning: arygon.c:115:118: warning: data argument not used by format string [-Wformat-extra-args] ..."%s", "Trying to find ARYGON device on serial port: %s at %d bauds.", acPort,... ~~~~ ^ 1 warning generated. --- libnfc/drivers/arygon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnfc/drivers/arygon.c b/libnfc/drivers/arygon.c index 1936bbb..8716b79 100644 --- a/libnfc/drivers/arygon.c +++ b/libnfc/drivers/arygon.c @@ -112,7 +112,7 @@ arygon_probe (nfc_connstring connstrings[], size_t connstrings_len, size_t *pszD while ((acPort = acPorts[iDevice++])) { sp = uart_open (acPort); - log_put (LOG_CATEGORY, NFC_PRIORITY_TRACE, "%s", "Trying to find ARYGON device on serial port: %s at %d bauds.", acPort, ARYGON_DEFAULT_SPEED); + log_put (LOG_CATEGORY, NFC_PRIORITY_TRACE, "Trying to find ARYGON device on serial port: %s at %d bauds.", acPort, ARYGON_DEFAULT_SPEED); if ((sp != INVALID_SERIAL_PORT) && (sp != CLAIMED_SERIAL_PORT)) { // We need to flush input to be sure first reply does not comes from older byte transceive