[netif] fix bug in print statement with no corresponding argument (#8353)
diff --git a/src/posix/platform/netif.cpp b/src/posix/platform/netif.cpp index e043228..fbfa8c1 100644 --- a/src/posix/platform/netif.cpp +++ b/src/posix/platform/netif.cpp
@@ -852,7 +852,7 @@ else { sAddedExternalRoutes[sAddedExternalRoutesNum++] = config.mPrefix; - otLogWarnPlat("[netif] Successfully added an external route %s in kernel: %s", prefixString); + otLogWarnPlat("[netif] Successfully added an external route %s in kernel", prefixString); } } exit: