svn commit: samba r2132 - in trunk/source/tdb: .
jmcd at samba.org
jmcd at samba.org
Tue Aug 31 12:18:00 GMT 2004
Author: jmcd
Date: 2004-08-31 12:17:59 +0000 (Tue, 31 Aug 2004)
New Revision: 2132
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/tdb&rev=2132&nolog=1
Log:
merge from 3.0: fix log format string to include magic and offset both
Modified:
trunk/source/tdb/tdb.c
Changeset:
Modified: trunk/source/tdb/tdb.c
===================================================================
--- trunk/source/tdb/tdb.c 2004-08-31 12:06:37 UTC (rev 2131)
+++ trunk/source/tdb/tdb.c 2004-08-31 12:17:59 UTC (rev 2132)
@@ -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