summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2004-08-31 12:06:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:32 -0500
commit30da4e777191c557226d5615cee5a9e28b198a8b (patch)
treefb42aea93200c1daac5bb916a2ca01d045bdc18e
parentdad4d65787df7bd28351cb8f8724d3ae5387ca12 (diff)
downloadsamba-30da4e777191c557226d5615cee5a9e28b198a8b.tar.gz
samba-30da4e777191c557226d5615cee5a9e28b198a8b.tar.xz
samba-30da4e777191c557226d5615cee5a9e28b198a8b.zip
r2131: Fixup format string. The magic value format specifier was missing, so
the logged offset was really the magic value, and the true offset was never displayed.
-rw-r--r--source/tdb/tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tdb/tdb.c b/source/tdb/tdb.c
index 9a059d459ef..ac159863bdc 100644
--- a/source/tdb/tdb.c
+++ b/source/tdb/tdb.c
@@ -476,7 +476,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)