From 68a1d5c450f471e42879eb3ff74aac82a68b93ee Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Thu, 1 Mar 2012 14:01:08 +0000 Subject: [PATCH] Fix another warning for files not compiled in the default configuration. --- libnfc/drivers/pn532_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnfc/drivers/pn532_uart.c b/libnfc/drivers/pn532_uart.c index 992a9484..a3e5482b 100644 --- a/libnfc/drivers/pn532_uart.c +++ b/libnfc/drivers/pn532_uart.c @@ -74,7 +74,7 @@ pn532_uart_probe (nfc_connstring connstrings[], size_t connstrings_len, size_t * (void) connstrings; (void) connstrings_len; *pszDeviceFound = 0; - log_put (LOG_CATEGORY, NFC_PRIORITY_INFO, "Serial auto-probing have been disabled at compile time. Skipping autoprobe."); + log_put (LOG_CATEGORY, NFC_PRIORITY_INFO, "%s", "Serial auto-probing have been disabled at compile time. Skipping autoprobe."); return false; #else /* SERIAL_AUTOPROBE_ENABLED */ *pszDeviceFound = 0;