diff options
Diffstat (limited to 'source3/lib/dbwrap/dbwrap_ctdb.c')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_ctdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index 3233253f7c..429f542f1a 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -329,7 +329,8 @@ static int db_ctdb_transaction_destructor(struct db_ctdb_transaction_handle *h) status = g_lock_unlock(h->ctx->lock_ctx, h->lock_name); if (!NT_STATUS_IS_OK(status)) { - DEBUG(0, ("g_lock_unlock failed: %s\n", nt_errstr(status))); + DEBUG(0, ("g_lock_unlock failed for %s: %s\n", h->lock_name, + nt_errstr(status))); return -1; } return 0; |