X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Flttng.cpp;h=af1d3f4882cfd7fc6894257099a85f785cd5f6b0;hp=093a9809ccdfe512150f843356f58c0319a54ed6;hb=HEAD;hpb=8884bbc1ce31fa2fc4085a430c4f253e1dd95f14 diff --git a/src/bin/lttng/lttng.cpp b/src/bin/lttng/lttng.cpp index 093a9809c..48b02c627 100644 --- a/src/bin/lttng/lttng.cpp +++ b/src/bin/lttng/lttng.cpp @@ -490,7 +490,7 @@ int main(int argc, char **argv) try { return _main(argc, argv); } catch (const std::exception& e) { - ERR_FMT("Unhandled exception caught by client: %s", e.what()); + ERR_FMT("Unhandled exception caught by client: {}", e.what()); abort(); } }