From: Howard Chu Date: Sat, 19 Dec 2015 23:51:31 +0000 (+0000) Subject: Fix mdb_audit() printf format X-Git-Tag: LMDB_0.9.19~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b95a2dc33328f12d18911ae8397349457f0c780c;p=openldap Fix mdb_audit() printf format --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 4adbf5783f..1b9e819371 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -1715,7 +1715,7 @@ static void mdb_audit(MDB_txn *txn) } } if (freecount + count + NUM_METAS != txn->mt_next_pgno) { - fprintf(stderr, "audit: %lu freecount: %lu count: %lu total: %lu next_pgno: %lu\n", + fprintf(stderr, "audit: %"Z"u freecount: %"Z"u count: %"Z"u total: %"Z"u next_pgno: %"Z"u\n", txn->mt_txnid, freecount, count+NUM_METAS, freecount+count+NUM_METAS, txn->mt_next_pgno); }