Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
orbea -
OpenLDAP
Commits
b95a2dc3
Commit
b95a2dc3
authored
Dec 19, 2015
by
Howard Chu
Committed by
Hallvard Furuseth
Dec 15, 2016
Browse files
Fix mdb_audit() printf format
parent
831e7056
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
b95a2dc3
...
...
@@ -1715,7 +1715,7 @@ static void mdb_audit(MDB_txn *txn)
}
}
if
(
freecount
+
count
+
NUM_METAS
!=
txn
->
mt_next_pgno
)
{
fprintf
(
stderr
,
"audit: %
l
u freecount: %
l
u count: %
l
u total: %
l
u next_pgno: %
l
u
\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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment