Skip to content

Commit

Permalink
Fix low level debug output in xlat_register
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Jan 29, 2018
1 parent 90085f6 commit 24951e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/xlat_func.c
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ int xlat_register(void *mod_inst, char const *name,
c->inst_size = inst_size;
c->async_safe = async_safe;

DEBUG3("%s: %s", c->name, __FUNCTION__);
DEBUG3("%s: %s", __FUNCTION__, c->name);

if (new && !rbtree_insert(xlat_root, c)) {
ERROR("Failed inserting xlat registration for %s",
Expand Down Expand Up @@ -783,7 +783,7 @@ int xlat_async_register(TALLOC_CTX *ctx,
c->async_safe = false; /* async safe in this case means it might yield */
c->uctx = uctx;

DEBUG3("%s: %s", c->name, __FUNCTION__);
DEBUG3("%s: %s", __FUNCTION__, c->name);

if (new && !rbtree_insert(xlat_root, c)) {
ERROR("%s: Failed inserting xlat registration for %s", __FUNCTION__, c->name);
Expand Down

0 comments on commit 24951e6

Please sign in to comment.