diff options
author | Martin Schwenke <martin@meltin.net> | 2019-09-04 14:14:22 +1000 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2020-03-30 10:08:23 +0000 |
commit | e7a6abca56a471af66e142931ac513caf7d2660d (patch) | |
tree | db8532083aa15400664eccd4205ec565dde9bdbd /ctdb | |
parent | 45fab149767a951f458514093c12a5238b41c9e7 (diff) | |
download | samba-e7a6abca56a471af66e142931ac513caf7d2660d.tar.gz |
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 <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue Sep 17 05:52:15 UTC 2019 on sn-devel-184
(cherry picked from commit 84f544b55f235e2f08596bf4b7854460af008f88)
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/client/client_db.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; } |