diff --git a/lib/utils/mu-command-handler.hh b/lib/utils/mu-command-handler.hh index 5d5f5f0c..e892266a 100644 --- a/lib/utils/mu-command-handler.hh +++ b/lib/utils/mu-command-handler.hh @@ -171,7 +171,7 @@ private: if (!listp() || empty() || !cbegin()->symbolp() || !plistp(cbegin() + 1, cend())) throw Error(Error::Code::Command, - "expected command, got '%s'", to_string().c_str()); + "expected command, got '{}'", to_string()); }