summaryrefslogtreecommitdiff
path: root/source3/lib/messages_dgm_ref.c
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2015-10-21 11:07:57 -0700
committerJeremy Allison <jra@samba.org>2015-10-21 23:13:17 +0200
commitb041a589ae680de38f4e9c8c4979c3972a4e7b07 (patch)
tree0e5f4944f5c0e38c082928a0727f081c76d0de32 /source3/lib/messages_dgm_ref.c
parent1d3df7e18def05c4552f4647b3644f7b7952fc66 (diff)
downloadsamba-b041a589ae680de38f4e9c8c4979c3972a4e7b07.tar.gz
Remove function name from callers of DBG_*
It is now added automatically. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/messages_dgm_ref.c')
-rw-r--r--source3/lib/messages_dgm_ref.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/source3/lib/messages_dgm_ref.c b/source3/lib/messages_dgm_ref.c
index e3b2d8819e4..3ea8b9d33aa 100644
--- a/source3/lib/messages_dgm_ref.c
+++ b/source3/lib/messages_dgm_ref.c
@@ -73,8 +73,7 @@ void *messaging_dgm_ref(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
ret = messaging_dgm_init(ev, unique, socket_dir, lockfile_dir,
msg_dgm_ref_recv, NULL);
- DBG_DEBUG("%s: messaging_dgm_init returned %s\n", __func__,
- strerror(ret));
+ DBG_DEBUG("messaging_dgm_init returned %s\n", strerror(ret));
if (ret != 0) {
DEBUG(10, ("messaging_dgm_init failed: %s\n",
strerror(ret)));
@@ -86,8 +85,8 @@ void *messaging_dgm_ref(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
} else {
int ret;
ret = messaging_dgm_get_unique(getpid(), unique);
- DBG_DEBUG("%s: messaging_dgm_get_unique returned %s\n",
- __func__, strerror(ret));
+ DBG_DEBUG("messaging_dgm_get_unique returned %s\n",
+ strerror(ret));
if (ret != 0) {
TALLOC_FREE(result);
*err = ret;
@@ -103,7 +102,7 @@ void *messaging_dgm_ref(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
}
}
- DBG_DEBUG("%s: unique = %"PRIu64"\n", __func__, *unique);
+ DBG_DEBUG("unique = %"PRIu64"\n", *unique);
refs = tmp_refs;
@@ -140,7 +139,7 @@ static int msg_dgm_ref_destructor(struct msg_dgm_ref *r)
TALLOC_FREE(r->tevent_handle);
- DBG_DEBUG("%s: refs=%p\n", __func__, refs);
+ DBG_DEBUG("refs=%p\n", refs);
if (refs == NULL) {
messaging_dgm_destroy();