mdbx: add mdbx_printf_args() macro.

Change-Id: I7fca72f8cc912d8644ecf149b755c78fb3cc7e23
This commit is contained in:
Leonid Yuriev
2020-09-10 15:35:43 +03:00
parent 369612a9b2
commit 58bcfb006e
7 changed files with 27 additions and 27 deletions

View File

@@ -581,7 +581,7 @@ number_of_ovpages(const MDBX_env *env, size_t bytes) {
return bytes2pgno(env, PAGEHDRSZ - 1 + bytes) + 1;
}
__cold static int __printf_args(2, 3)
__cold static int mdbx_printf_args(2, 3)
bad_page(const MDBX_page *mp, const char *fmt, ...) {
if (mdbx_log_enabled(MDBX_LOG_ERROR)) {
static const MDBX_page *prev;