Fix mysqlmon_multimaster

It failed to compile with a new-ish compiler as the output argument was
guaranteed to be null.
This commit is contained in:
Markus Mäkelä
2019-07-26 09:09:40 +03:00
parent 9171dbaad6
commit 9a7153dcec

View File

@ -56,7 +56,7 @@ json_t* get_json_data(TestConnections& test, const char* query)
char* output = test.maxscales->ssh_node_output(0, query, true, &exit_code);
if (output == NULL)
{
test.add_result(1, "Query '%s' execution error, no output.\ni", output);
test.add_result(1, "Query '%s' execution error, no output.", query);
}
else
{