1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

print the db name qwhen a chainunlock fails too

(This used to be ctdb commit 7932156d7f25870e6937faca08bf75d3cdbad2e5)
This commit is contained in:
Ronnie Sahlberg 2010-06-09 13:54:10 +10:00
parent 64f2d69e4b
commit f6446adde3

View File

@ -191,7 +191,7 @@ int ctdb_ltdb_unlock(struct ctdb_db_context *ctdb_db, TDB_DATA key)
{
int ret = tdb_chainunlock(ctdb_db->ltdb->tdb, key);
if (ret != 0) {
DEBUG(DEBUG_ERR,("tdb_chainunlock failed [%s]\n", tdb_errorstr(ctdb_db->ltdb->tdb)));
DEBUG(DEBUG_ERR,("tdb_chainunlock failed on db %s [%s]\n", ctdb_db->db_name, tdb_errorstr(ctdb_db->ltdb->tdb)));
}
return ret;
}