mirror of https://github.com/djcb/mu.git
mu/script: fix printing
Missing c_str, caught by macos build.
This commit is contained in:
parent
f4ac16db5a
commit
ca33726628
|
@ -36,7 +36,7 @@ Mu::mu_cmd_script(const Options& opts)
|
|||
|
||||
if (script_it == scriptinfos.cend())
|
||||
return Err(Error::Code::InvalidArgument,
|
||||
"cannot find script '%s'", opts.script.name);
|
||||
"cannot find script '%s'", opts.script.name.c_str());
|
||||
|
||||
std::vector<std::string> params{opts.script.params};
|
||||
if (!opts.muhome.empty()) {
|
||||
|
|
Loading…
Reference in New Issue