From e7a6abca56a471af66e142931ac513caf7d2660d Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Wed, 4 Sep 2019 14:14:22 +1000 Subject: ctdb-client: Fix some typos in debug messages tdb_sore -> tdb_store SCHDULE_FOR_DELETION -> SCHEDULE_FOR_DELETION Switch to modern debug macros while touching the lines. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs Autobuild-User(master): Amitay Isaacs Autobuild-Date(master): Tue Sep 17 05:52:15 UTC 2019 on sn-devel-184 (cherry picked from commit 84f544b55f235e2f08596bf4b7854460af008f88) --- ctdb/client/client_db.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ctdb') diff --git a/ctdb/client/client_db.c b/ctdb/client/client_db.c index dfa8d970de5..a008f2ad63d 100644 --- a/ctdb/client/client_db.c +++ b/ctdb/client/client_db.c @@ -1540,9 +1540,9 @@ struct tevent_req *ctdb_delete_record_send(TALLOC_CTX *mem_ctx, ret = tdb_store(h->db->ltdb->tdb, h->key, rec, TDB_REPLACE); if (ret != 0) { - DEBUG(DEBUG_ERR, - ("fetch_lock delete: %s tdb_sore failed, %s\n", - h->db->db_name, tdb_errorstr(h->db->ltdb->tdb))); + D_ERR("fetch_lock delete: %s tdb_store failed, %s\n", + h->db->db_name, + tdb_errorstr(h->db->ltdb->tdb)); tevent_req_error(req, EIO); return tevent_req_post(req, ev); } @@ -1576,9 +1576,9 @@ static void ctdb_delete_record_done(struct tevent_req *subreq) status = ctdb_client_control_recv(subreq, &ret, NULL, NULL); TALLOC_FREE(subreq); if (! status) { - DEBUG(DEBUG_ERR, - ("delete_record: %s SCHDULE_FOR_DELETION failed, " - "ret=%d\n", state->h->db->db_name, ret)); + D_ERR("delete_record: %s SCHEDULE_FOR_DELETION failed, ret=%d\n", + state->h->db->db_name, + ret); tevent_req_error(req, ret); return; } -- cgit v1.2.1