]> git.sur5r.net Git - openldap/commitdiff
Fix mdb_audit() printf format
authorHoward Chu <hyc@openldap.org>
Sat, 19 Dec 2015 23:51:31 +0000 (23:51 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 15 Dec 2016 21:27:32 +0000 (22:27 +0100)
libraries/liblmdb/mdb.c

index 4adbf5783fd7e932de7f2b9eeb584ba5906dec3e..1b9e8193711a3a76333d05cc4723b50a81a5b56a 100644 (file)
@@ -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);
        }