Invert gate on printf attribute

Inverted the logic without thinking.

Signed-off-by: Paul Elliott <[email protected]>
This commit is contained in:
Paul Elliott
2021-03-10 17:00:32 +00:00
parent 3891caf1ce
commit abb3af7826
+2 -2
View File
@@ -93,10 +93,10 @@
* This module provides debugging functions.
*/
#if defined(__GNUC__)
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check)
#else
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check) \
__attribute__((format (printf, string_index, first_to_check)))
#else
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check)
#endif
#ifdef __cplusplus