diff --git a/src/include/lwip/debug.h b/src/include/lwip/debug.h index b50a5de2..b559944e 100644 --- a/src/include/lwip/debug.h +++ b/src/include/lwip/debug.h @@ -81,7 +81,7 @@ #ifndef LWIP_NOASSERT #define LWIP_PLATFORM_ERROR(message) LWIP_PLATFORM_ASSERT(message) #elif defined LWIP_DEBUG -#define LWIP_PLATFORM_ERROR(message) LWIP_PLATFORM_DIAG(message) +#define LWIP_PLATFORM_ERROR(message) LWIP_PLATFORM_DIAG((message)) #else #define LWIP_PLATFORM_ERROR(message) #endif