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
(Imported from commit
4811cbea933c3665a08f9f0b37ad43afeace2b6c)
return -1;
}
if (!check_options(state->call, state->options)) {
- DEBUG(DEBUG_ERR, ("Bad eventscript options '%s' for %s\n",
- ctdb_eventscript_call_names[state->call], state->options));
+ DEBUG(DEBUG_ERR, ("Bad eventscript options '%s' for '%s'\n",
+ state->options,
+ ctdb_eventscript_call_names[state->call]));
talloc_free(state);
return -1;
}