1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r2154: Merge of Jim's format string fixup in r2130:2131

This commit is contained in:
Tim Potter 2004-08-31 23:57:14 +00:00 committed by Gerald (Jerry) Carter
parent fe6506e190
commit 17a53eaac2

View File

@ -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)