From: Martin Schwenke Date: Thu, 28 Jul 2016 02:02:25 +0000 (+1000) Subject: ctdb-daemon: Clean up SET_DB_PRIORITY/GET_DB_PRIORITY deprecation X-Git-Tag: tevent-0.9.30~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7ecc913bb40783c8cf8c66e3c3e99e6df414381;p=thirdparty%2Fsamba.git ctdb-daemon: Clean up SET_DB_PRIORITY/GET_DB_PRIORITY deprecation The current message is broken: Control SET_DB_PRIORITY is not implemented any more, use instead BUG: https://bugzilla.samba.org/show_bug.cgi?id=12126 Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/server/ctdb_control.c b/ctdb/server/ctdb_control.c index f01815c93b1..4c6648380a6 100644 --- a/ctdb/server/ctdb_control.c +++ b/ctdb/server/ctdb_control.c @@ -565,10 +565,10 @@ static int32_t ctdb_control_dispatch(struct ctdb_context *ctdb, return ctdb_control_get_ban_state(ctdb, outdata); case CTDB_CONTROL_SET_DB_PRIORITY: - return control_not_implemented("SET_DB_PRIORITY", ""); + return control_not_implemented("SET_DB_PRIORITY", NULL); case CTDB_CONTROL_GET_DB_PRIORITY: - return control_not_implemented("GET_DB_PRIORITY", ""); + return control_not_implemented("GET_DB_PRIORITY", NULL); case CTDB_CONTROL_TRANSACTION_CANCEL: return control_not_implemented("TRANSACTION_CANCEL", NULL);