summaryrefslogtreecommitdiffabout
path: root/src/gdbmclose.c
Side-by-side diff
Diffstat (limited to 'src/gdbmclose.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/gdbmclose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbmclose.c b/src/gdbmclose.c
index c638183..ead9187 100644
--- a/src/gdbmclose.c
+++ b/src/gdbmclose.c
@@ -35,7 +35,7 @@ gdbm_close (GDBM_FILE dbf)
{
/* Make sure the database is all on disk. */
if (dbf->read_write != GDBM_READER)
- __fsync (dbf);
+ gdbm_file_sync (dbf);
/* Close the file and free all malloced memory. */
#if HAVE_MMAP

Return to:

Send suggestions and report system problems to the System administrator.