summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-08-31 23:57:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:27 -0500
commitcfedadec2211676ed7f99685c695e1e2f0d41923 (patch)
tree819d3e0f4f43d66a797587c56b6e1674d9da073d /source4/lib/tdb
parentebe1733768c2b3bfcb6d93e656c1cf52fc0f7b7e (diff)
downloadsamba-cfedadec2211676ed7f99685c695e1e2f0d41923.tar.gz
samba-cfedadec2211676ed7f99685c695e1e2f0d41923.tar.bz2
samba-cfedadec2211676ed7f99685c695e1e2f0d41923.zip
r2154: Merge of Jim's format string fixup in r2130:2131
(This used to be commit 17a53eaac2d0d76413c8bb27a6f1c80536ccf3a7)
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r--source4/lib/tdb/common/tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tdb/common/tdb.c b/source4/lib/tdb/common/tdb.c
index b9ca46c322..aefa08cdb8 100644
--- a/source4/lib/tdb/common/tdb.c
+++ b/source4/lib/tdb/common/tdb.c
@@ -490,7 +490,7 @@ static int rec_free_read(TDB_CONTEXT *tdb, tdb_off off, struct list_struct *rec)
if (rec->magic == TDB_MAGIC) {
/* this happens when a app is showdown while deleting a record - we should
not completely fail when this happens */
- TDB_LOG((tdb, 0,"rec_free_read non-free magic at offset=%d - fixing\n",
+ TDB_LOG((tdb, 0,"rec_free_read non-free magic 0x%x at offset=%d - fixing\n",
rec->magic, off));
rec->magic = TDB_FREE_MAGIC;
if (tdb_write(tdb, off, rec, sizeof(*rec)) == -1)