git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfe9fc6
)
s3:dbwrap_ctdb: improve error message in transaction destructor
author
Gregor Beck
<gbeck@sernet.de>
Mon, 5 Sep 2011 15:07:37 +0000
(17:07 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 11 Oct 2011 13:21:07 +0000
(15:21 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
source3/lib/dbwrap_ctdb.c
patch
|
blob
|
history
diff --git
a/source3/lib/dbwrap_ctdb.c
b/source3/lib/dbwrap_ctdb.c
index de02f601d4aa46d05cf918092d4b38febbcf9d0c..ad72cc286d238f1c2513230a06f21fabe6641fed 100644
(file)
--- a/
source3/lib/dbwrap_ctdb.c
+++ b/
source3/lib/dbwrap_ctdb.c
@@
-309,7
+309,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;