Add printf attribute to all variadic functions

The test methods that take printf style input now have the printf
attribute. This enables format checks making oversights less likely.

Also fixed any existing errors in the code. Only the one in
test_binlog_fnc.cpp would've had an actual effect.
This commit is contained in:
Markus Mäkelä
2018-06-21 15:33:22 +03:00
parent a59c0c61ce
commit 9737962add
9 changed files with 20 additions and 14 deletions

View File

@ -64,7 +64,7 @@ int main(int argc, char *argv[])
"yum install -y MariaDB-gssapi-server MariaDB-gssapi-client krb5-server krb5-workstation pam_krb5", true);
Test->maxscales->ssh_node_f(0, true, (char *)
"yum install -y MariaDB-gssapi-server MariaDB-gssapi-client krb5-server krb5-workstation pam_krb5", true);
"yum install -y MariaDB-gssapi-server MariaDB-gssapi-client krb5-server krb5-workstation pam_krb5");
Test->tprintf("Configuring Kerberos server\n");
Test->maxscales->ssh_node(0, (char *)