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 | |||
@@ -190,7 +190,7 @@ setopt_gdbm_setmmap (GDBM_FILE dbf, void *optval, int optlen) | |||
190 | GDBM_SET_ERRNO (dbf, GDBM_OPT_ILLEGAL, FALSE); | 190 | GDBM_SET_ERRNO (dbf, GDBM_OPT_ILLEGAL, FALSE); |
191 | return -1; | 191 | return -1; |
192 | } | 192 | } |
193 | __fsync (dbf); | 193 | gdbm_file_sync (dbf); |
194 | if (n == dbf->memory_mapping) | 194 | if (n == dbf->memory_mapping) |
195 | return 0; | 195 | return 0; |
196 | if (n) | 196 | if (n) |