diff options
author | Jim McDonough <jmcd@samba.org> | 2004-08-31 12:06:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:32 -0500 |
commit | a79469a27f48bf4353b8f918f96af7e2d7bf384a (patch) | |
tree | 451d0552e595c676c49d87798742225ae8d9f619 | |
parent | 1d7f22c9ae9c18854fe47f7bd51355fced76201c (diff) | |
download | samba-a79469a27f48bf4353b8f918f96af7e2d7bf384a.tar.gz samba-a79469a27f48bf4353b8f918f96af7e2d7bf384a.tar.bz2 samba-a79469a27f48bf4353b8f918f96af7e2d7bf384a.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.
(This used to be commit 30da4e777191c557226d5615cee5a9e28b198a8b)
-rw-r--r-- | source3/tdb/tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c index 9a059d459e..ac159863bd 100644 --- a/source3/tdb/tdb.c +++ b/source3/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) |