diff options
Diffstat (limited to 'src/gdbmsetopt.c')
-rw-r--r-- | src/gdbmsetopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbmsetopt.c b/src/gdbmsetopt.c index ca62290..69e244c 100644 --- a/src/gdbmsetopt.c +++ b/src/gdbmsetopt.c @@ -187,13 +187,13 @@ setopt_gdbm_setmmap (GDBM_FILE dbf, void *optval, int optlen) if ((n = getbool (optval, optlen)) == -1) { GDBM_SET_ERRNO (dbf, GDBM_OPT_ILLEGAL, FALSE); return -1; } - __fsync (dbf); + gdbm_file_sync (dbf); if (n == dbf->memory_mapping) return 0; if (n) { if (_gdbm_mapped_init (dbf) == 0) dbf->memory_mapping = TRUE; |