diff --git a/src/core/common/notifier.cpp b/src/core/common/notifier.cpp index 450772efa..34b647299 100644 --- a/src/core/common/notifier.cpp +++ b/src/core/common/notifier.cpp @@ -236,7 +236,7 @@ void Notifier::LogEvents(Events aEvents) const } exit: - otLogInfoCore("Notifier: StateChanged (0x%08x) %s%s] ", aEvents.GetAsFlags(), didLog ? "... " : "[", + otLogInfoCore("Notifier: StateChanged (0x%08x) %s%s]", aEvents.GetAsFlags(), didLog ? "... " : "[", string.AsCString()); }