From bfff6cfe85ca0d8e771f7cf0b5c636077c3fa004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Fri, 19 Nov 2021 15:42:27 +0300 Subject: [PATCH] mdbx: fix nasty `sizeof(bytes)` typo. --- src/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.c b/src/core.c index 35f165c1..138135f0 100644 --- a/src/core.c +++ b/src/core.c @@ -19556,7 +19556,7 @@ __cold int mdbx_env_info_ex(const MDBX_env *env, const MDBX_txn *txn, return rc; while (1) { - rc = fetch_envinfo_ex(env, txn, arg, sizeof(bytes)); + rc = fetch_envinfo_ex(env, txn, arg, bytes); if (unlikely(rc != MDBX_SUCCESS)) return rc; if (likely(memcmp(&snap, arg, bytes) == 0))