diff options
author | Gregor Beck <gbeck@sernet.de> | 2011-09-05 17:07:37 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-09-07 19:50:05 +0200 |
commit | 350d8e56db2dcc7030dc573f56d5d4a32510b757 (patch) | |
tree | 6c7d1b03d6e0bbc007bc16c6be1d10dfbf0d1dd2 /source3/lib/dbwrap | |
parent | 9c0252446fe97c037c9af9b8b0bea5f5b86d45e8 (diff) | |
download | samba-350d8e56db2dcc7030dc573f56d5d4a32510b757.tar.gz samba-350d8e56db2dcc7030dc573f56d5d4a32510b757.tar.bz2 samba-350d8e56db2dcc7030dc573f56d5d4a32510b757.zip |
s3:dbwrap_ctdb: improve error message in transaction destructor
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib/dbwrap')
-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; |