Printf format checking added to logging function.
Printf format checking added to logging function and all issues that were revealed by that fixed.
This commit is contained in:
@ -166,7 +166,7 @@ int externcmd_execute(EXTERNCMD* cmd)
|
||||
{
|
||||
cmd->child = pid;
|
||||
cmd->n_exec++;
|
||||
MXS_DEBUG("[monitor_exec_cmd] Forked child process %d : %s.", pid, cmd);
|
||||
MXS_DEBUG("[monitor_exec_cmd] Forked child process %d : %s.", pid, cmd->argv[0]);
|
||||
}
|
||||
|
||||
return rval;
|
||||
|
Reference in New Issue
Block a user