summaryrefslogtreecommitdiffabout
path: root/src/gdbmsetopt.c
Side-by-side diff
Diffstat (limited to 'src/gdbmsetopt.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/gdbmsetopt.c2
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
@@ -190,7 +190,7 @@ setopt_gdbm_setmmap (GDBM_FILE dbf, void *optval, int optlen)
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)

Return to:

Send suggestions and report system problems to the System administrator.