Correctly use the log_put() format

Fix compiler warning:
warning: format not a string literal and no format arguments
This commit is contained in:
Ludovic Rousseau 2012-05-16 13:17:52 +00:00
parent eb1e6d0cb4
commit 3737481262

View file

@ -92,7 +92,7 @@
snprintf (__acBuf + __szBuf, sizeof(__acBuf) - __szBuf, "%02x ",((uint8_t *)(pbtData))[__szPos]); \
__szBuf += 4; \
} \
log_put (LOG_CATEGORY, NFC_PRIORITY_TRACE, __acBuf); \
log_put (LOG_CATEGORY, NFC_PRIORITY_TRACE, "%s", __acBuf); \
} while (0);
# else
# define LOG_HEX(pcTag, pbtData, szBytes) do { \