diff --git a/ports/ecos/ecos/net/lwip_tcpip/current/src/ecos/init.c b/ports/ecos/ecos/net/lwip_tcpip/current/src/ecos/init.c index 3e6b209..32c0ed6 100644 --- a/ports/ecos/ecos/net/lwip_tcpip/current/src/ecos/init.c +++ b/ports/ecos/ecos/net/lwip_tcpip/current/src/ecos/init.c @@ -102,7 +102,12 @@ sys_jiffies(void) void ppp_trace(int level, const char *format,...) { - diag_printf(format); + va_list args; + + (void)level; + va_start(args, format); + diag_vprintf(format, args); + va_end(args); } #endif