mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
ctdb:server: fix DEBUG message for wrong event script options.
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Thu Jun 5 19:51:36 CEST 2014 on sn-devel-104
This commit is contained in:
parent
88559063b5
commit
4811cbea93
@ -754,8 +754,9 @@ static int ctdb_event_script_callback_v(struct ctdb_context *ctdb,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (!check_options(state->call, state->options)) {
|
if (!check_options(state->call, state->options)) {
|
||||||
DEBUG(DEBUG_ERR, ("Bad eventscript options '%s' for %s\n",
|
DEBUG(DEBUG_ERR, ("Bad eventscript options '%s' for '%s'\n",
|
||||||
ctdb_eventscript_call_names[state->call], state->options));
|
state->options,
|
||||||
|
ctdb_eventscript_call_names[state->call]));
|
||||||
talloc_free(state);
|
talloc_free(state);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user