summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-21 19:17:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-21 19:17:26 +0300
commitdcf9b115274faa6ac32550dc3578bb03e178a5c6 (patch)
treeffb1bf0de1c52a8485e7fd93fe7a3a1ff7cd2e3a /plugins
parent983debf2db56122f1f3b63288dd1d683f4d516cb (diff)
compilation fix
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Dbx_mdbx/src/libmdbx/src/osal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdbx/src/libmdbx/src/osal.c b/plugins/Dbx_mdbx/src/libmdbx/src/osal.c
index 8b6094d55b..56df979872 100644
--- a/plugins/Dbx_mdbx/src/libmdbx/src/osal.c
+++ b/plugins/Dbx_mdbx/src/libmdbx/src/osal.c
@@ -856,7 +856,7 @@ int mdbx_mmap(int flags, mdbx_mmap_t *map, size_t size, size_t limit) {
map->section = NULL;
map->address = nullptr;
- if (flags & MDBX_EXCLUSIVE) {
+ if (!(flags & MDBX_EXCLUSIVE)) {
NTSTATUS rc = mdbx_check4nonlocal(map->fd, flags);
if (rc != MDBX_SUCCESS)
return rc;