svn commit: samba r2131 - in branches/SAMBA_3_0/source/tdb: .
jmcd at samba.org
jmcd at samba.org
Tue Aug 31 12:06:37 GMT 2004
Author: jmcd
Date: 2004-08-31 12:06:37 +0000 (Tue, 31 Aug 2004)
New Revision: 2131
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/tdb&rev=2131&nolog=1
Log:
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.
Modified:
branches/SAMBA_3_0/source/tdb/tdb.c
Changeset:
Modified: branches/SAMBA_3_0/source/tdb/tdb.c
===================================================================
--- branches/SAMBA_3_0/source/tdb/tdb.c 2004-08-31 11:30:37 UTC (rev 2130)
+++ branches/SAMBA_3_0/source/tdb/tdb.c 2004-08-31 12:06:37 UTC (rev 2131)
@@ -476,7 +476,7 @@
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)
More information about the samba-cvs
mailing list