]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10454 LMDB: fix prev commit for Mac OSX + WRITEMAP
authorKerollmops <clement@meilisearch.com>
Mon, 27 Apr 2026 11:24:44 +0000 (13:24 +0200)
committerHoward Chu <hyc@openldap.org>
Mon, 27 Apr 2026 14:18:24 +0000 (15:18 +0100)
libraries/liblmdb/mdb.c

index 73ebc910e05d7c9b97d00bcfe1e0c7e9451bdf02..75bcaad8379b25e6311854bd34c8ae6d0ce02c86 100644 (file)
@@ -4885,7 +4885,7 @@ mdb_env_write_meta(MDB_txn *txn)
                                goto fail;
                        }
 #if defined(__APPLE__)
-                       if (MDB_FDATASYNC(env->me_mfd)) {
+                       if (MDB_FDATASYNC(env->me_fd)) {
                                rc = ErrCode();
                                goto fail;
                        }