diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-04-17 22:27:17 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2007-04-17 22:27:17 +1000 |
commit | 8a7b5733205f8ee4d51b37a90e5f74f7774ff4e7 (patch) | |
tree | 3b351596808ed8b36b43f9c17fdc023c29143154 /ctdb/common/ctdb_message.c | |
parent | 1e2d91c7617f009c1618b808cd8ebe518e816dd3 (diff) | |
download | samba-8a7b5733205f8ee4d51b37a90e5f74f7774ff4e7.tar.gz samba-8a7b5733205f8ee4d51b37a90e5f74f7774ff4e7.tar.xz samba-8a7b5733205f8ee4d51b37a90e5f74f7774ff4e7.zip |
more DEBUG() calls
(This used to be ctdb commit 79f3d63eec5652d87f13875c76e90ead81a26ad9)
Diffstat (limited to 'ctdb/common/ctdb_message.c')
-rw-r--r-- | ctdb/common/ctdb_message.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ctdb/common/ctdb_message.c b/ctdb/common/ctdb_message.c index 88fe04df503..9de12f6bcb6 100644 --- a/ctdb/common/ctdb_message.c +++ b/ctdb/common/ctdb_message.c @@ -42,7 +42,8 @@ static int ctdb_dispatch_message(struct ctdb_context *ctdb, uint32_t srvid, TDB_ if (ml->srvid == srvid || ml->srvid == CTDB_SRVID_ALL) break; } if (ml == NULL) { - printf("daemon vnn:%d no msg handler for srvid=%u\n", ctdb_get_vnn(ctdb), srvid); + DEBUG(0,(__location__ " daemon vnn:%d no msg handler for srvid=%u\n", + ctdb_get_vnn(ctdb), srvid)); /* no registered message handler */ return -1; } @@ -86,7 +87,7 @@ static void ctdb_local_message_trigger(struct event_context *ev, struct timed_ev res = ctdb_dispatch_message(m->ctdb, m->srvid, m->data); if (res != 0) { - printf("Failed to dispatch message for srvid=%u\n", m->srvid); + DEBUG(0, (__location__ " Failed to dispatch message for srvid=%u\n", m->srvid)); } talloc_free(m); } |