summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-06-05 00:46:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:52 -0500
commit68a06bf37ec4ef63767a866977855b8b8bf6a5c8 (patch)
tree19e924de89eb2be2937100e32b110de5ccfb7969 /source4/lib/tdb
parent56c46ee24167ee17b5b7ef074ff5c524ea78bf42 (diff)
downloadsamba-68a06bf37ec4ef63767a866977855b8b8bf6a5c8.tar.gz
samba-68a06bf37ec4ef63767a866977855b8b8bf6a5c8.tar.bz2
samba-68a06bf37ec4ef63767a866977855b8b8bf6a5c8.zip
r16043: Fix error message
(This used to be commit 2898df2cee22f2d478440e9576bec15140909e45)
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r--source4/lib/tdb/common/transaction.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/tdb/common/transaction.c b/source4/lib/tdb/common/transaction.c
index aa54c4ae3c..5ddeb69c47 100644
--- a/source4/lib/tdb/common/transaction.c
+++ b/source4/lib/tdb/common/transaction.c
@@ -701,7 +701,7 @@ static int transaction_setup_recovery(struct tdb_context *tdb,
continue;
}
if (el->offset + el->length > tdb->transaction->old_map_size) {
- TDB_LOG((tdb, 0, "tdb_transaction_commit: transaction data over new region boundary\n"));
+ TDB_LOG((tdb, 0, "tdb_transaction_setup_recovery: transaction data over new region boundary\n"));
free(data);
tdb->ecode = TDB_ERR_CORRUPT;
return -1;
@@ -729,7 +729,7 @@ static int transaction_setup_recovery(struct tdb_context *tdb,
/* write the recovery data to the recovery area */
if (methods->tdb_write(tdb, recovery_offset, data, sizeof(*rec) + recovery_size) == -1) {
- TDB_LOG((tdb, 0, "tdb_transaction_commit: failed to write recovery data\n"));
+ TDB_LOG((tdb, 0, "tdb_transaction_setup_recovery: failed to write recovery data\n"));
free(data);
tdb->ecode = TDB_ERR_IO;
return -1;
@@ -751,7 +751,7 @@ static int transaction_setup_recovery(struct tdb_context *tdb,
*magic_offset = recovery_offset + offsetof(struct list_struct, magic);
if (methods->tdb_write(tdb, *magic_offset, &magic, sizeof(magic)) == -1) {
- TDB_LOG((tdb, 0, "tdb_transaction_commit: failed to write recovery magic\n"));
+ TDB_LOG((tdb, 0, "tdb_transaction_setup_recovery: failed to write recovery magic\n"));
tdb->ecode = TDB_ERR_IO;
return -1;
}