X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Funit%2Ftest_action.cpp;h=ad323e9acc169592c68de995f4344fe6d6e0e997;hp=c46b8fcea665fa177dbaa27c8b85a7027bec5096;hb=HEAD;hpb=d5ed3e6f3a8b52d7f2a3e2277873e0f1914ba515 diff --git a/tests/unit/test_action.cpp b/tests/unit/test_action.cpp index c46b8fcea..52f6d26ca 100644 --- a/tests/unit/test_action.cpp +++ b/tests/unit/test_action.cpp @@ -559,7 +559,7 @@ int main() try { return _main(); } catch (const std::exception& e) { - ERR_FMT("Unhandled exception caught by action unit test: %s", e.what()); + ERR_FMT("Unhandled exception caught by action unit test: {}", e.what()); abort(); } }