Use C-string as parameter to fix compile error

This commit is contained in:
Esa Korhonen
2018-01-23 12:27:24 +02:00
parent 0bcae6117d
commit 1222d2a400

View File

@ -1166,7 +1166,7 @@ static bool cb_log(const MODULECMD_ARG *argv, json_t** output)
else
{
*output = mxs_json_error("Failed to open file '%s'",
instance->unified_filename);
instance->unified_filename.c_str());
}
}
else