summaryrefslogtreecommitdiffstats
path: root/ctdb/server/ctdb_persistent.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-10-29 13:24:19 +0100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2009-10-30 09:26:16 +1100
commit4d073bd77995db4f7eb124663034789e25dacc59 (patch)
treed066261fa3b0a70edd843a6d48220cad090b066a /ctdb/server/ctdb_persistent.c
parentdca16d5f64452ad2b572edfa971ef35ff569c13f (diff)
downloadsamba-4d073bd77995db4f7eb124663034789e25dacc59.tar.gz
samba-4d073bd77995db4f7eb124663034789e25dacc59.tar.xz
samba-4d073bd77995db4f7eb124663034789e25dacc59.zip
server: fix a debug message in trans2_commit - log the correct db_id
Michael (This used to be ctdb commit ab9657b5a66d5665e6c5fd1bf8eb4074a3bffeec)
Diffstat (limited to 'ctdb/server/ctdb_persistent.c')
-rw-r--r--ctdb/server/ctdb_persistent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ctdb/server/ctdb_persistent.c b/ctdb/server/ctdb_persistent.c
index f2bbe5d1f3..b00e4c7d5d 100644
--- a/ctdb/server/ctdb_persistent.c
+++ b/ctdb/server/ctdb_persistent.c
@@ -148,10 +148,10 @@ int32_t ctdb_control_trans2_commit(struct ctdb_context *ctdb,
break;
case CTDB_CONTROL_TRANS2_COMMIT:
if (ctdb_db->transaction_active) {
- DEBUG(DEBUG_ERR,(__location__ " trans2_commit: client "
- "already has a transaction commit "
+ DEBUG(DEBUG_ERR,(__location__ " trans2_commit: there is"
+ " already a transaction commit "
"active on db_id[%d]\n",
- client->db_id));
+ ctdb_db->db_id));
return -1;
}
if (client->db_id != 0) {