Skip to content

Commit

Permalink
Fix another warning for files not compiled in the default configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed Mar 1, 2012
1 parent e7f8581 commit 68a1d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libnfc/drivers/pn532_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 68a1d5c

Please sign in to comment.